X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4946B8C4.5070100@byu.net>
Date: Mon, 15 Dec 2008 13:06:28 -0700
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [1.7] chmod fails with windows path
References: <4946A1DF.9020601@spiresoftware.com> <20081215185705.GB6830@calimero.vinschen.de>
In-Reply-To: <20081215185705.GB6830@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Corinna Vinschen on 12/15/2008 11:57 AM:
>> chmod +x e:/tmp/gimp/*.exe
>> chmod: changing permissions of `e:/tmp/gimp/gimp-2.2.13-i586-setup-1.exe': No such file or directory
>> chmod: changing permissions of `e:/tmp/gimp/gtk+-2.10.6-1-setup.exe': No such file or directory
> 
> 
> This seems to be a problem in coreutils.  I just tried the chmod function
> with DOS paths and it works as expected.

Or, more accurately, a limitation of the coreutils .exe magic getting
thrown off by the switch to the new cygwin_conv_path.  I'm not very
concerned about trying to go out of my way to provide bloat in coreutils
just to make .exe magic on DOS paths behave nicely, when a unix-style path
works just fine.  But I'll look into it; I was in the middle of preparing
coreutils 7.0-1, so if I can find a simple fix, I might be able to tweak
this to work nicer.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklGuMQACgkQ84KuGfSFAYBIbwCfV8JRAjEed6T7ym/EiVfi5w8b
ANwAoKFlNWEWcYy1zT/THZ5ukfvUQsFJ
=K64P
-----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/

