This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ln -s exe magic (coreutils 6.7-2)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]