R: chmod fails for MS-DOS style path in cygwin 1.7.2-2

Marco Atzeri marco_atzeri@yahoo.it
Thu Apr 1 12:32:00 GMT 2010


--- Gio 1/4/10, prakash babu  ha scritto:

> I am using cygwin 1.7.2-2 and chmod
> fails for MS-DOS style path with the following error
> message.
> 
> eg: chmod 755 C:\\FileName

you should use POSIX style

chmod 755 $(cygpath -u C:\\FileName)

or 

chmod 755 /cygdrive/c/FileName

>  
> cygwin warning: MS-DOS style path detected: C:\FileName
> Preferred POSIX equivalent is: /cygdrive/c/FileName
> CYGWIN environment variable option "nodosfilewarning" turns
> off this warning.
> Consult the user's guide for more details about POSIX
> paths:
> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>  
> This used to work in cygwin 1.5 .  
>  
> Is there any workaround available for this currently ?
>  
> Is this a bug in 1.7 which will be fixed in the upcoming
> versions ?
>  
> thanks,
> Prakash
> 

Regards
Marco






--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list