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

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Apr 1 14:13:00 GMT 2010


On Apr  1 14:09, prakash babu wrote:
> 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
>  
> 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 ?

It's a deliberate change, see
http://cygwin.com/ml/cygwin-announce/2010-03/msg00018.html

  "Handle native DOS paths always as if mounted with "posix=0,noacl".


Corinna

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

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