delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/16/09:53:58

X-Recipient: archive-cygwin AT delorie DOT 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 AT byu DOT 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 AT cygwin DOT com
Subject: Re: [1.7] chmod fails with windows path
References: <4946A1DF DOT 9020601 AT spiresoftware DOT com> <20081215185705 DOT GB6830 AT calimero DOT vinschen DOT de>
In-Reply-To: <20081215185705.GB6830@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

-----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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019