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]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]