diff options
author | shravantc <shravantc@ymail.com> | 2015-03-27 17:44:01 +0530 |
---|---|---|
committer | Humble Devassy Chirammal <humble.devassy@gmail.com> | 2015-03-29 22:56:04 -0700 |
commit | 683145ae2a8abee02763cef2334556fd39fc635a (patch) | |
tree | 3295437ecaf6a755b22bdd4d2d23e9032b8194da | |
parent | 3b647e10124cfc22983b11bf9bfaa36289a2a42f (diff) |
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>
-rw-r--r-- | doc/admin-guide/en-US/markdown/admin_ACLs.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/admin-guide/en-US/markdown/admin_ACLs.md b/doc/admin-guide/en-US/markdown/admin_ACLs.md index eeb6d83afdd..ebae7f71887 100644 --- a/doc/admin-guide/en-US/markdown/admin_ACLs.md +++ b/doc/admin-guide/en-US/markdown/admin_ACLs.md @@ -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` |