This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with cp and dangling symbolic link
- From: Eric Blake <ebb9 at byu dot net>
- To: Kenneth Chalmers <kenneth dot chalmers at norscan dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 26 May 2005 18:42:41 -0600
- Subject: Re: Problem with cp and dangling symbolic link
- References: <20050526201709.4A5B4186898@liz.norscan.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Kenneth Chalmers on 5/26/2005 2:17 PM:
> 1. Create a dangling symbolic link:
> ln -s filename_that_doesnt_exist test
> 2. Copy the link, preserving its link status:
> cp -d test test2
> 3. Try to copy the link AGAIN, even with the force flag:
> cp -df test test2
Yep, you probably uncovered a cygwin coreutils release issue (my guess is
that it is related to my automatic .exe handling code not knowing how to
properly handle dangling symlinks). I'll investigate further and report
back when I have a final conclusion.
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
cygwin coreutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFClm0B84KuGfSFAYARAr7PAJ0a12CK6Em+lHc0UnZSHvEPSFWRMACfcPs2
KYC53B+x1yz/Jp6GUIjhRCM=
=kEV0
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/