XK0-005 · Question #1542
A Linux administrator is trying to remove the ACL from the file /home/user/data. txt but receives the following error message: Given the following analysis: Which of the following is causing the…
The correct answer is D. File attributes are preventing file modification. File attributes are preventing file modification, which is causing the error message. The output of lsattr /home/user/data.txt shows that the file has the immutable attribute (i) set, which means that the file cannot be changed, deleted, or renamed. The command setfacl -b…
Question
Options
- AThe administrator is not using a highly privileged account.
- BThe filesystem is mounted with the wrong options.
- CSELinux file context is denying the ACL changes.
- DFile attributes are preventing file modification.
How the community answered
(29 responses)- A10% (3)
- B3% (1)
- C7% (2)
- D79% (23)
Explanation
File attributes are preventing file modification, which is causing the error message. The output of lsattr /home/user/data.txt shows that the file has the immutable attribute (i) set, which means that the file cannot be changed, deleted, or renamed. The command setfacl -b /home/user/data.txt tries to remove the ACL from the file, but fails because of the immutable attribute. The administrator needs to remove the immutable attribute first by using the command chattr -i /home/user/data.txt and then try to remove the ACL again.
Topics
Community Discussion
No community discussion yet for this question.