GNU bug report logs -
#33573
--add-missing --copy should replace symlinks with real files
Previous Next
Full log
Message #19 received at submit <at> debbugs.gnu.org (full text, mbox):
Another simple patch from my side: when '--copy' given to
'--add-missing', copy the standard files even if symlinks already exist.
I am not sure about changing the behavior here. Although the behavior
you propose is plausible, I fear that people might depend or expect on
failure if symlinks exist. It doesn't seem bad to me to require the user
to clean up their own symlinks, instead of assuming the overwriting
should be done. There's no way to know what the situation really is.
What I suggest is making the new behavior of deleting existing symlinks
iff -f is *also* given. If the user says "force" and "copy" then ok, we
can figure they're asking for what they're getting.
Wdyt? --thanks, karl.
P.S. I hope to reply to your other patch in the next day or two.
This bug report was last modified 2 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.