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: [1.7] chmod fails with windows path


On Dec 15 10:28, Glenn Serre wrote:
> Good morning,
>
> In 1.7, using chmod with a Windows path fails is in the attached 
> chmod_output.txt.  Using a posix path works as expected.
>
> I can, of course, fix my makefile to not use windows paths, but it is a 
> change from previous behavior and seems inconsistent with the behavior of 
> other commands that do work on windows paths.
>
> So far, these commands work on windows paths
>
> ls
> getfacl
>
> and these don't
>
> chmod
> chown

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


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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