SUMMERY: Set ACL on a directory, but setfacl not work under Solaris 2.6

From: Melissa Young (thesunlover2002@yahoo.com)
Date: Wed Jun 08 2005 - 13:56:53 EDT


Answer:
I have used the following command and solved the
problem:

# find directory-path | xargs setfacl -rm
user:username:rwx

Thank you:
"Rob McMahon" <Rob.McMahon@warwick.ac.uk>
Try using the -r flag to setfacl: setfacl -rm
u:tester:rwx ... In my experience -r is
almost always what you want.
m[ask]:perms The ACL mask. The mask entry indicates
the maximum permissions allowed for users (other than
the owner) and for groups. The mask is a quick way to
change permissions on all the users and groups.
-r Recalculate the permissions for the ACL mask entry.
The permissions specified in the ACL mask entry are
ignored and replaced by the maximum permissions
necessary to grant the access to all additional user,
file group owner, and additional group entries in the
ACL. The permissions in the additional user, file
group owner, and additional group entries are left
unchanged.

Chris_Sellers@adp.com
"Suhas BHIDE" <suhas@ctl.creative.com>

Original Question:
Hello,
Under Solaris 2.6, I am trying to setup ACL on a
directory for a specific user:
 
# find /home/test -type d -exec setfacl -m
user:tester:rwx {} \;
 
The above command is not working. The user still can
not create and edit files under /home/test, although
there is a + sign at the end of the directory name.
 Any idea what could be the problem?
 
Melissa Young
UNIX System Admin

                
__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:52 EDT