XK0-005 · Question #698
A Linux administrator needs to check extended permissions applied to the directory test. Which of the following commands should the administrator use to help with this task?
The correct answer is C. getfacl test/. getfacl is the command used to view the Access Control List (ACL) of a file or directory, which shows extended permissions beyond the basic owner, group, and others. This is essential for checking permissions that are set using ACLs on the directory test.
Question
A Linux administrator needs to check extended permissions applied to the directory test. Which of the following commands should the administrator use to help with this task?
Options
- Agetsebool test/
- Bgetenforce test/
- Cgetfacl test/
- Dls -al test/
How the community answered
(64 responses)- A3% (2)
- B5% (3)
- C91% (58)
- D2% (1)
Explanation
getfacl is the command used to view the Access Control List (ACL) of a file or directory, which shows extended permissions beyond the basic owner, group, and others. This is essential for checking permissions that are set using ACLs on the directory test.
Topics
Community Discussion
No community discussion yet for this question.