Filesystem Permissions and ACLs Flashcards
7 cards from real LFCS Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Filesystem Permissions and ACLs flashcards as text
Which command displays the ACL entries for a file named 'report.txt'?
Answer: getfacl report.txt
getfacl reads and displays the Access Control List for a specified file or directory.
A directory has permissions 'drwxrwxrwt'. What does the 't' (sticky bit) prevent?
Answer: Users from deleting files owned by other users
The sticky bit on a directory restricts file deletion so only the file owner, directory owner, or root can remove files.
What does the command 'setfacl -m u:alice:rx file.sh' do?
Answer: Grants alice read and execute permissions on file.sh via ACL
setfacl -m modifies (adds or updates) an ACL entry; u:alice:rx grants user alice read and execute access.
Which octal value represents 'rwxr-x---' permissions?
Answer: 750
rwx=7, r-x=5, ---=0, so the combined octal is 750.
A file has an ACL mask of 'r--'. A group ACL entry grants 'rwx'. What effective permissions does the group have?
Answer: r--
The ACL mask limits the effective permissions of named users and groups; the effective permission is the intersection of the entry and the mask.
How do you remove all ACL entries (including defaults) from a directory 'mydir'?
Answer: setfacl -b mydir
setfacl -b removes all extended ACL entries, restoring only the base POSIX permissions.
Which command would set the setuid bit on an executable 'myapp' using symbolic notation?
Answer: chmod u+s myapp
chmod u+s sets the setuid bit on the user (owner) permission triplet, causing the file to run with the owner's privileges.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- docs.linuxfoundation.org — Renewal, score release, exam format, passing score · verified Oct 2026
- training.linuxfoundation.org — Test delivery, eligibility, fees, registration deadline, time limit, score validity · verified Oct 2026