--- Jim Meyering <[EMAIL PROTECTED]> wrote:

> Copying through a destination symlink is fundamentally risky,
> so I've changed cp not to do it anymore.

OK, thanks, I see.

> Best is just not to do that anymore.  However, if it's something
> you cannot easily avoid, you can do this instead:
> 
>     $ cp -p link1 $(readlink -f link2)

Well, the problem is I don't do it, but it is sort of hardcoded in some
other program I use, which was failing and I tracked the error down to
this cp "feature". I will inform the maintainers of this other program.
However, it might be a good idea to have some option to force this
risky behaviour, maybe with --force ?

Thanks again
Ignacio


      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to