OpenSolaris

Printable Version Enter a New Search
Bug ID 4627392
Synopsis *chmod* g[+-=] dpesn't work as expected on files with ACLs
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:file
Keywords
Responsible Engineer Lori Alt
Reported Against s81_54
Duplicate Of
Introduced In
Commit to Fix s81_56
Fixed In s81_56
Release Fixed solaris_9(s81_56)
Related Bugs 6313870 , 4091822 , 4963264 , 4327552
Submit Date 23-January-2002
Last Update Date 23-January-2002
Description
Because we reverted to the Draft standard ACL mask behaviour, we got
the old problem with "chmod(1)" back: it can't set group bits on files.

This was not as visible before because "ls" used to hide the group bits;
it now shows them.

 touch file
 chmod 604 file
 setfacl -m u:casper:7,m:7 file

ls -l file

-rw----r--+  1 root     other          0 Jan 23 21:14 file

chmod g+r file
ls -l file
-rw----r--+  1 root     other          0 Jan 23 21:14 file
Work Around
Use "setfacl -m g::6", but no real substitute for chmod -R g+rX etc.
Comments
N/A