ACL – Solaris 10 February 25, 2008
Posted by invaleed in Solaris.trackback
Little documentation about ACL at Solaris 10
(-) The following example shows you how to substitute an ACL on the file named file1. The ACL permissions are configured as follows:
- The file owner has read, write, and execute permissions
- The group has read and write permissions
- The other users have read-only permissions
- The user named user1 has read, write, and execute permissions on the file
- The ACL mask has read and write permissions
- The user named user1 has read, write, and execute permissions
Perform the setfacl command with the following options to substitute an ACL on file1:
# setfacl -s u::rwx,g::rw-,o:r–,m:rw-,u:user1:rwx file1
Or using this command :
# setfacl -s u::7,g::6,o:4,m:6,u:user1:7 file1
(-) Command copies the ACL entries from the file named file1 to the file named file2
# getfacl file1 | setfacl -f – file2
Comments»
No comments yet — be the first.