bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27085: dired-do-compress on symlinks should bail out with a warning


From: 積丹尼 Dan Jacobson
Subject: bug#27085: dired-do-compress on symlinks should bail out with a warning
Date: Fri, 26 May 2017 19:36:03 +0800

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]