Bird
0
0

You want a directory confidential where only the owner can list and access files, but others can enter the directory without seeing its contents. Which permission setting accomplishes this?

hard📝 Application Q8 of 15
Linux CLI - File Permissions and Ownership
You want a directory confidential where only the owner can list and access files, but others can enter the directory without seeing its contents. Which permission setting accomplishes this?
Achmod 711 confidential
Bchmod 700 confidential
Cchmod 755 confidential
Dchmod 750 confidential
Step-by-Step Solution
Solution:
  1. Step 1: Understand directory permissions

    Execute (x) allows entering directory; read (r) allows listing contents.
  2. Step 2: Analyze options

    711 means owner rwx, group and others execute only (can enter but not list).
  3. Step 3: Verify requirements

    Only owner can list (r), others can enter (x) but not list (no r).
  4. Final Answer:

    chmod 711 confidential -> Option A
  5. Quick Check:

    Execute without read allows entering but no listing [OK]
Quick Trick: Execute without read lets users enter but not list [OK]
Common Mistakes:
MISTAKES
  • Using 700 blocks others from entering
  • Using 755 allows others to list contents
  • Using 750 allows group to list contents

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes