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]

chmod/chgrp ignores Windows ACL full control? (rm works fine)


Hello all, Hi Corinna,

I get a 'Permission denied' for 'chmod' or 'chgrp' on a file using a
standard windows user with full access ('ls -l' shows: '-rwx------+ 1 admin
None'). According to 'getfacl' the user has the rwx-rights on the file and
there is no problem to move, copy or delete the file (with mv, cp, rm).
This seems like an inconsistent mapping of the Windows permissions.

Steps to reproduce:
1.) Create file 'test' belonging to an administrator in a folder C:\SPECIAL.
2.) Use a Windows group SPECIAL_USER_GRP with full control (Windows
Properties->Security tab) including inheritance (Advanced settings: Replace
permission entries on all child objects) on the folder C:\SPECIAL.
3.) A standard restricted normal user 'special_user' (only access allowed
permissions are used) is added to the SPECIAL_USER_GRP.
4.) Use 'chmod 774 test' with the 'special_user':
chmod: changing permission of `test´: Permission denied
5.) Use 'rm test' with the 'special_user' results in no problem. The file is
gone.

Please help me to set the shown group for 'ls -l' to the SPECIAL_USER_GRP
with the rwx-rights, without changing the inherited 'full control' from the
Windows ACL. Thanks in advance.

Sincerely, Tilman Fischer

PS: Links considered:
http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-perm
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-aclfuncs
http://thread.gmane.org/gmane.os.cygwin/100351/focus=100359
http://thread.gmane.org/gmane.os.cygwin/103531/focus=103564
http://www.cygwin.com/ml/cygwin-developers/2005-08/msg00000.html
Microsoft Windows ACL full control:
http://www.microsoft.com/windowsxp/using/security/learnmore/accesscontrol.ms
px


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