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]

Re: 1.5.16-1: chmod problem


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/


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