GFSETFACL(1)
β¨ GFSETFACL(1) β¨
okay bestie, sit down, hydrate, and let me tell you about gfsetfacl π
this is a Gfarm manual page, page one of section one, and it is literally the tool that tells your files who's allowed to do what. no cap.
πΈ 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. that's it, that's the whole job, and it eats every single time π
β¨ OPTIONS β¨
-bβ removes all extended ACL entries. (the base ACL entries of the owner, group and others are not removed β those ones are staying, periodt.)-kβ removes the only Default ACL. bye bestie π«Ά-nβ do not recalculate the mask entry of the ACL. the default behavior ofgfsetfaclis to recalculate the mask entry, if a mask entry is not explicitly given. (so like, this is the "actually, don't" option π)-rβ always recalculate the mask entry of the ACL. (Even if a mask entry is explicitly given.) (See the-noption.) it's giving "we are recalculating no matter what, idc" π₯-tβ is test mode. instead of changing the ACL of any files or directories, the ACL text of input text and the new ACL text are displayed. window shopping, not buying ποΈβ¨-macl_specβ this option specifies the ACL entries text to add/replace the ACL entries of a Gfarm files or directories. multiple ACL entries are separated by comma characters (`,').-Macl_fileβ this option specifies the file or standard input (`-') to add/replace the ACL entries of a Gfarm files or directories. this input of ACL file accepts the output ofgfgetfaclcommand. (piping, my beloved π§)-Rβ changes ACL recursively. the whole tree. every last one. π-?β displays a list of command options. when in doubt, ask the question mark bestie π
π 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β permissions of owner. π[d[efault:]u[ser]:username:permsβ permissions of a named user.[d[efault:]g[roup]::permsβ permissions of a file group.[d[efault:]g[roup]:groupname:permsβ permissions of a named group.[d[efault:]m[ask]::permsβ mask of effective rights. π[d[efault:]o[ther]::permsβ permissions of others.
β EXAMPLES β
Granting read access to a named user πΈ
gfsetfacl -m u:testuser:r filename
Replacing the ACL of filename2 by filename1 π
gfgetfacl filename1 | gfsetfacl -b -M - filename2
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 π
gfgetfacl(1) β the other half of the duo, the reading to this writing, iykyk π
and that's the whole page bestie, no notes, ate and left no crumbs π
Gfarm πΈ this one's dated 28 Sep 2020 and it's the GFSETFACL(1) page, so go forth and set those ACLs responsibly, mwah πβ¨
π¦ where this page comes from
- debian bookworm: gfarm-client 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: gfarm-client 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu noble: gfarm-client 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: gfarm-client 2.7.20+dfsg-1.2
- ubuntu resolute: gfarm-client 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: gfarm-client 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms