Which command revokes ACL-based write access for groups and named users on the file afile?
A. setfacl -x group: * : rx, user:*: rx afile
B. setfacl -x mask: : rx afile
C. setfacl ~m mask: : rx afile
D. setfacl ~m group: * : rx, user :*: rx afile
Which command revokes ACL-based write access for groups and named users on the file afile?
A. setfacl -x group: * : rx, user:*: rx afile
B. setfacl -x mask: : rx afile
C. setfacl ~m mask: : rx afile
D. setfacl ~m group: * : rx, user :*: rx afile
I guess the “~” is just a typo. Correct command should be:
setfacl -m mask: : rx afile
or
setfacl -m m: : rx afile
Ref. https://www.computerhope.com/unix/usetfacl.htm#examples