This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ln -s exe magic (coreutils 6.7-2)
- From: "DePriest, Jason R." <jrdepriest at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 17 Apr 2007 16:22:12 -0500
- Subject: Re: ln -s exe magic (coreutils 6.7-2)
- References: <011701c73f43$3d07d270$3e0010ac@wirelessworld.airvananet.com> <20070124043651.GF25379@ns1.anodized.com> <20070124094810.GN27843@calimero.vinschen.de> <45B76311.1000009@byu.net> <20070124143821.GQ27843@calimero.vinschen.de> <461A3A14.8090702@byu.net> <461A91B1.2984D418@dessent.net> <9909394.post@talk.nabble.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/