unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27085: dired-do-compress on symlinks should bail out with a warning
@ 2017-05-26 11:36 積丹尼 Dan Jacobson
  2019-07-26  8:34 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-05-26 11:36 UTC (permalink / raw)
  To: 27085

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-26  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-26 11:36 bug#27085: dired-do-compress on symlinks should bail out with a warning 積丹尼 Dan Jacobson
2019-07-26  8:34 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).