Re: Problem with cp and dangling symbolic link

2005-05-26 Thread Eric Blake
-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 w

Problem with cp and dangling symbolic link

2005-05-26 Thread Kenneth Chalmers
I've found what looks like it might be a bug in the cygwin implementation of symbolic links. It's a pretty obscure one, but I just got bitten by it so it can happen :) Here's a breakdown: 1. Create a dangling symbolic link: ln -s filename_that_doesnt_exist test 2. Copy the link, preserv