From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#27085: dired-do-compress on symlinks should bail out with a warning Date: Fri, 26 May 2017 19:36:03 +0800 Message-ID: <87zidzx330.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495808300 32440 195.159.176.226 (26 May 2017 14:18:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 May 2017 14:18:20 +0000 (UTC) To: 27085@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 26 16:18:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEG4C-0008Co-Kz for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 May 2017 16:18:12 +0200 Original-Received: from localhost ([::1]:37022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEG4I-0000ss-76 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 May 2017 10:18:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEG47-0000pp-5a for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 10:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEG42-0002hH-5P for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 10:18:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEG42-0002gt-2B for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 10:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dEG41-0005VT-V6 for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 10:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 May 2017 14:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27085 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149580822821091 (code B ref -1); Fri, 26 May 2017 14:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 May 2017 14:17:08 +0000 Original-Received: from localhost ([127.0.0.1]:39363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEG39-0005U7-U0 for submit@debbugs.gnu.org; Fri, 26 May 2017 10:17:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEG37-0005TY-Lj for submit@debbugs.gnu.org; Fri, 26 May 2017 10:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEG31-0008Eu-N9 for submit@debbugs.gnu.org; Fri, 26 May 2017 10:17:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48635) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dEG31-0008DD-K8 for submit@debbugs.gnu.org; Fri, 26 May 2017 10:16:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEG30-0000Fe-Hd for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 10:16:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEG2v-0007wx-Ka for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 10:16:58 -0400 Original-Received: from homie.mail.dreamhost.com ([208.97.132.208]:52013 helo=homiemail-a62.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dEG2v-0007r4-BG for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 10:16:53 -0400 Original-Received: from homiemail-a62.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id CC7AA63406E for ; Fri, 26 May 2017 07:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=/wtPZpHNhiy8pmNFbPacS9lHgZo=; b=BZzNkZ50hyG/+J2c EZgsQeVQVAo4Egp3vdlSd0wvRp4Rc5U9O2ddMGQPJyndLE1h0inkuEQ2ibQqXCUW vFZEiFrzE4eQh1L0ShwttQdyOFqIe+JPfbmGbBNBC40xSaUMH91Vid7ag049IH/e 1gsre0843Qm0Ek+m/alIjTzq5Ak= Original-Received: from jidanni.org (122-118-151-27.dynamic-ip.hinet.net [122.118.151.27]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPSA id 4B6C663406F for ; Fri, 26 May 2017 07:16:50 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132888 Archived-At: Z runs the command dired-do-compress. But when run on lrwxrwxrwx 1 jidanni 34 05-26 15:51 local.osm.gz -> /cf/updates/no_backup/local.osm.gz Compress or uncompress local.osm.gz? (y or n) y Failed to compress/home/jidanni/mapping/taipower/opendata/local.osm.gz 1. I thought it would try to UNcompress. 2. Well it doesn't work on symlinks at all. So it should say "Sorry that is a symlink. I'm not ready for that". Or like $ gunzip local.osm.gz gzip: local.osm.gz: Too many levels of symbolic links I.e., warn and give up. Like gunzip.