nerdexam
CompTIA

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.

Security

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)
  • A
    3% (2)
  • B
    5% (3)
  • C
    91% (58)
  • D
    2% (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

#Linux permissions#ACLs#getfacl command#System administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice