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@gmail.com>
To: cygwin@cygwin.com
Subject: Re: ln -s exe magic (coreutils 6.7-2)
In-Reply-To: <9909394.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

