This is the mail archive of the
cygwin
mailing list for the Cygwin project.
R: chmod fails for MS-DOS style path in cygwin 1.7.2-2
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com, prakash babu <jprakashbabu at yahoo dot co dot in>
- Date: Thu, 1 Apr 2010 12:32:13 +0000 (GMT)
- Subject: 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