table of contents
GFSETFACL(1) | Gfarm | GFSETFACL(1) |
NAME¶
gfsetfacl - set Gfarm file access control lists
SYNOPSIS¶
gfsetfacl [options] [path...]
DESCRIPTION¶
gfsetfacl changes the Access Control List (ACL) of files or directories in the Gfarm filesystem.
OPTIONS¶
-b
-k
-n
-r
-t
-m acl_spec
-M acl_file
-R
-?
ACL ENTRIES¶
The gfsetfacl command recognizes the following ACL entry formats. The perms field is a combination of characters that indicate the permissions: read (r), write (w), execute (x). A Default ACL entry has a d[efault:] prefix.
[d[efault:]u[ser]::perms
[d[efault:]u[ser]:username:perms
[d[efault:]g[roup]::perms
[d[efault:]g[roup]:groupname:perms
[d[efault:]m[ask]::perms
[d[efault:]o[ther]::perms
EXAMPLES¶
Granting read access to a named user
Replacing the ACL of filename2 by filename1
ACL text of long form
# comment user::rw- user:testuser:rw- #effective:r-- group::r-- group:testgroup:rw- #effective:r-- mask::r-- other::r-- default:user::rwx default:group::r-x default:other::r-x
ACL text of short form
u::rw,u:user1:rw,g::r,g:group1:rw,m::r,o::r,d:u::rwx,d:g::rx,d:o::rx
SEE ALSO¶
28 Sep 2020 | Gfarm |