1.5.16-1: chmod problem
Pach Roman (GS-EC/ESA4) *
Roman.Pach@de.bosch.com
Wed May 4 04:53:00 GMT 2005
I admit I'm stubborn about this topic but I'd like to propose
the change of chmod implementation.
I thing, it would be nice if the 'chmod +/-w' would have in the discussed case the same
functionality as the Windows' command 'attrib'.
See please the appended screenshot.
U:\tmp>ls -l yahoo
-rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo
U:\tmp>attrib +r yahoo
U:\tmp>ls -l yahoo
-r--r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo
U:\tmp>attrib -r yahoo
U:\tmp>ls -l yahoo
-rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo
U:\tmp>chmod -w yahoo
chmod: changing permissions of `yahoo': Permission denied
U:\tmp>ls -l yahoo
-rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo
U:\tmp>chmod +w yahoo
chmod: changing permissions of `yahoo': Permission denied
U:\tmp>ls -l yahoo
-rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo
Roman
--
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/
More information about the Cygwin
mailing list