mfsfacl(1)
π mfsfacl β MooseFS file access control lists (extended attributes) management tools π
okay bestie, sit down, we're learning about ACLs in mfsfacl(1) and honestly? it's giving power. this is part of MooseFS, and it's two little tools that handle the access control list (ACL) value on a filesystem object. π«Ά
β¨ SYNOPSIS β¨
mfsgetfacl [-?] [-adceEspn] OBJECT [OBJECT ...]
mfssetfacl [-?] [-bKknd] [{-s|-m|-x} ACL_SPEC] [{-S|-M|-X} ACL_FILE]
OBJECT [OBJECT ...]
πΈ DESCRIPTION πΈ
so these tools operate on a filesystem object's access control list (ACL) value β and "object" here means a file, a special file, or a directory, no gatekeeping. π
and here's the tea: ACLs in MooseFS are compatible with Linux, so if you're on Linux you can literally just use the setfacl and getfacl commands instead. iykyk. β¨
mfsgetfaclβ prints the current ACL value of the given object(s). it's the nosy bestie that just wants to see what's there πmfssetfaclβ sets / changes / removes the current ACL value of the given object(s). it's the main character who rearranges everything π
π OPTIONS π
mfsgetfacl options π
-aβ display the file access control list only-dβ display the default access control list only-cβ do not display the comment header (we're skipping the intro, straight to the plot)-eβ print all effective rights-Eβ print no effective rights-sβ skip files that only have the base entries-pβ don't strip leading'/'in pathnames (let the paths live their truth)-nβ print numeric user/group identifiers
mfssetfacl options π₯
-bβ remove all extended ACL entries-Kβ remove the access ACL-kβ remove the default ACL-nβ don't recalculate the effective rights mask-dβ operations apply to the default ACL-sβ set the ACL of file(s), replacing the current ACL-Sβ read ACL entries to set from file-mβ modify the current ACL(s) of file(s)-Mβ read ACL entries to modify from file-xβ remove entries from the ACL(s) of file(s)-Xβ read ACL entries to remove from file
common options π¦
-?β display short usage message
π ACL SPECIFICATION π
for the -S, -M and -X options, the parameter ACL_FILE should be a path to a file containing ACL value specifications as described below β one definition per line, multiple lines possible, and anything after a # sign is ignored. oh and bestie, the output from the mfsgetfacl command is always a valid file content, so you can literally just feed it back in. iconic behavior fr fr. π
ACL_SPEC should be one of the following:
[d[efault]:][u[ser]:]uid[:perms]
[d[efault]:]g[roup]:gid[:perms]
[d[efault]:]m[ask][:][:perms]
[d[efault]:]o[ther][:][:perms]
now let's break that down, because the way this works is lowkey elegant:
dmeans work on default ACL values instead of access values. it's the "for the future children" setting π§- the next part tells you whether a user's, group's or other's permissions, or the mask, should be set.
- if that part is omitted and only an identifier is provided, it's assumed to be a user identifier.
- if user or group is indicated but there's no identifier, then the default user's or group's permissions are modified.
- identifier can be a string or a number, no discrimination. π«Ά
- permissions can be in the form of letters β any subset of
rwxβ or a number. - zero, an empty string, or a dash means no permissions for
-sand-m. - for
-x, permissions must be omitted. - multiple specifications can be supplied, divided by comma.
ngl just remember: comma-separated,#for comments, anddis the default-ACL switch. periodt. π
π REPORTING BUGS π
found a bug? report it to <bugs@moosefs.com>. don't suffer in silence bestie, we're a community. π
π COPYRIGHT π
Copyright (C) 2026 Jakub Kruszona-Zawadzki, Saglabs SA
This file is part of MooseFS.
MooseFS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 (only).
MooseFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see <https://www.gnu.org/licenses/>.
π SEE ALSO π
okay that's the whole page, you ate that. β¨ go set some ACLs, be the main character of your own filesystem, and remember: MooseFS 4.59.2-1, May 2026 β mwah, love u, bye!! πππ
π¦ where this page comes from
- arch rolling: moosefs 4.59.2-2 Β· GPL-2.0-only
- nixos 26.05: moosefs 4.59.2
- nixpkgs unstable: moosefs 4.59.2
- ubuntu stonking: moosefs-client 4.59.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms