Security
A file server hosts /srv/reports/q3.txt, which is owned by root:finance with mode 640. An administrator must give the user mara read and write access to this one file without changing its owner, its group, or its mode bits for other users. Which command does this?
Show the answer
Correct answerA. setfacl -m u:mara:rw /srv/reports/q3.txt
setfacl -m with a u:name:perms entry adds a named-user ACL entry and leaves ownership and the base mode bits unchanged. The g: form creates an entry for a group named mara, not the user, so mara would still lack access.