Bird
0
0

You want to allow a user to read and execute a script but not modify it. Which permission set should you assign?

hard📝 Application Q8 of 15
Linux CLI - File Permissions and Ownership
You want to allow a user to read and execute a script but not modify it. Which permission set should you assign?
Ar-x
Brw-
Crwx
Dr--
Step-by-Step Solution
Solution:
  1. Step 1: Identify needed permissions

    Read (r) and execute (x) are needed; write (w) must be excluded.
  2. Step 2: Match permission sets

    'r-x' means read and execute allowed, write denied.
  3. Final Answer:

    r-x -> Option A
  4. Quick Check:

    Read + execute, no write = r-x [OK]
Quick Trick: Use r-x to allow read and execute only [OK]
Common Mistakes:
MISTAKES
  • Choosing rw- which allows write
  • Picking rwx which allows all
  • Selecting r-- which disallows execute

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes