[1.7] chmod fails with windows path

Eric Blake ebb9@byu.net
Mon Dec 15 20:07:00 GMT 2008

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
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


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/

More information about the Cygwin mailing list