delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/26/20:42:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42966D01.70107@byu.net>
Date: Thu, 26 May 2005 18:42:41 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Kenneth Chalmers <kenneth DOT chalmers AT norscan DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Problem with cp and dangling symbolic link
References: <20050526201709 DOT 4A5B4186898 AT liz DOT norscan DOT com>
In-Reply-To: <20050526201709.4A5B4186898@liz.norscan.com>
X-IsSubscribed: yes

-----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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019