doc : editing admin_ACLs.md

Updating control entries

Change-Id: Iad5c9dcdf03fe987d1048078db6158f0e7c737a8
BUG: 1206539
Signed-off-by: shravantc <shravantc@ymail.com>
Reviewed-on: http://review.gluster.org/10027
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anjana Sriram <asriram@redhat.com>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
This commit is contained in:
shravantc 2015-03-27 17:44:01 +05:30 committed by Humble Devassy Chirammal
parent 3b647e1012
commit 683145ae2a

View File

@ -102,6 +102,20 @@ command:
`# setfacl m -set `
Permissions must be a combination of the characters r (read), w (write), and x (execute). Specify the ACL entry_type as described below, separating multiple entry types with commas.
u:*user_name:permissons*
Sets the access ACLs for a user. Specify the user name, or the UID.
g:*group_name:permissions*
Sets the access ACLs for a group. Specify the group name, or the GID.
m:*permission*
Sets the effective rights mask. The mask is the combination of all access permissions of the owning group, and all user and group entries.
o:*permissions*
Sets the access ACLs for users other than the ones in the group for the file.
For example, to set the default ACLs for the /data directory to read for
users not in the user group:
@ -167,6 +181,24 @@ following command:
`# setfacl -x `
####setfaclentry_type Options
The ACL entry_type translates to the POSIX ACL representations of owner, group, and other.
Permissions must be a combination of the characters r (read), w (write), and x (execute). Specify the ACL entry_type as described below, separating multiple entry types with commas.
u:*user_name*
Sets the access ACLs for a user. Specify the user name, or the UID.
g:*group_name*
Sets the access ACLs for a group. Specify the group name, or the GID.
m:*permission*
Sets the effective rights mask. The mask is the combination of all access permissions of the owning group, and all user and group entries.
o:*permissions*
Sets the access ACLs for users other than the ones in the group for the file.
For example, to remove all permissions from the user antony:
`# setfacl -x u:antony /mnt/gluster/data/test-file`