← All LFCS Certification Flashcard Decks

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
  1. Which command removes only the named user ACL entry for 'dave' from 'data.csv'?

    Answer: setfacl -x u:dave data.csv

    setfacl -x removes a specific ACL entry without affecting other entries; -b would remove all ACL entries.

  2. A process runs as UID 1001. A file has owner UID 1001 and permissions '---rwxrwx'. Can the owner read the file?

    Answer: No — the kernel checks only the owner bits, which are '---'

    Linux permission checks stop at the first matching category; if the process UID matches the file owner, only the owner permission bits are evaluated, regardless of group or other bits.

  3. What does 'umask 0022' mean when a user creates a new directory?

    Answer: The directory gets permissions 755 (777 minus 022)

    Directories start with a base of 777; subtracting umask 022 yields 755 (rwxr-xr-x).

  4. Which special permission bit, when set on an executable, causes it to run with the group privileges of the file's group rather than the invoking user's group?

    Answer: Setgid (chmod g+s)

    The setgid bit on an executable makes it run with the file's group ID as the effective GID of the process.

  5. How can an administrator apply ACLs recursively to all files under '/srv/project'?

    Answer: setfacl -R -m u:alice:rwx /srv/project

    The -R flag in setfacl applies the specified ACL modification recursively to all files and directories under the target path.

  6. A file is world-writable (-rw-rw-rw-) and located in /tmp which has the sticky bit. Can user 'eve' delete a file owned by 'frank'?

    Answer: No — the sticky bit on /tmp prevents eve from deleting frank's files

    The sticky bit on a directory restricts deletion so only the file owner, the directory owner, or root can remove a file regardless of write permissions.

  7. Which command would display numeric UIDs/GIDs instead of names in an ACL listing?

    Answer: getfacl -n file.txt

    getfacl -n (--numeric) displays numeric user and group IDs instead of resolving them to names.

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

  1. docs.linuxfoundation.org — Renewal, score release, exam format, passing score · verified Oct 2026
  2. training.linuxfoundation.org — Test delivery, eligibility, fees, registration deadline, time limit, score validity · verified Oct 2026