A Linux system administrator needs to allow a user named 'johndoe' to have read and write access to a file called 'report.txt', which currently does not grant him those rights. The administrator does not want to modify the existing group permissions on the file. Which command should the administrator use to achieve this without affecting the rights of other users?
The setfacl -m u:johndoe:rw report.txt command is correct because it explicitly modifies the access control list for the user 'johndoe' granting him read (r) and write (w) permissions on 'report.txt' without altering current group permissions or the permissions of other users.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.