delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/18/12:09:13

X-Spam-Check-By: sourceware.org
Message-ID: <31b7d2790704171422i164d4583sfde9c0a4609f9781@mail.gmail.com>
Date: Tue, 17 Apr 2007 16:22:12 -0500
From: "DePriest, Jason R." <jrdepriest AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ln -s exe magic (coreutils 6.7-2)
In-Reply-To: <9909394.post@talk.nabble.com>
MIME-Version: 1.0
References: <011701c73f43$3d07d270$3e0010ac AT wirelessworld DOT airvananet DOT com> <20070124043651 DOT GF25379 AT ns1 DOT anodized DOT com> <20070124094810 DOT GN27843 AT calimero DOT vinschen DOT de> <45B76311 DOT 1000009 AT byu DOT net> <20070124143821 DOT GQ27843 AT calimero DOT vinschen DOT de> <461A3A14 DOT 8090702 AT byu DOT net> <461A91B1 DOT 2984D418 AT dessent DOT net> <9909394 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 4/9/07, Eric Blake  wrote:
[ cut out lots of useful information to save space ]

Will your proposed changes in coreutils fix the following problem I
just discovered today?

Create a symbolic link
ln -s /usr/bin/foo /foo
where /usr/bin/foo is really usr/bin/foo.exe

ls -l /foo
returns
foo -> /usr/bin/foo.exe

rm /foo
fails with
No such file or directory

ls -l /
returns whatever else is in the directory plus
foo.exe -> /usr/bin/foo.exe

rm /foo.exe
works fine

So I was baffled that the .exe was required since at no point in my
link creating process did I reference a .exe on the end of the files.

$ cygcheck -c coreutils
Cygwin Package Information
Package              Version        Status
coreutils            6.7-2          OK

I will include the entire cygcheck -s -v -r if you need it.

-Jason

--
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