Bird
0
0

Which of the following is the correct permission notation for a file where others have only execute permission?

easy📝 Syntax Q12 of 15
Linux CLI - File Permissions and Ownership
Which of the following is the correct permission notation for a file where others have only execute permission?
Arwxrwx--x
Brwxrwxr--
Crwxrwxrwx
Drwxrwx---
Step-by-Step Solution
Solution:
  1. Step 1: Understand the position of others' permissions

    The permission string has three groups of three characters: user, group, others. The last three characters represent others' permissions.
  2. Step 2: Identify execute-only permission for others

    Execute permission is x, and no read or write means dashes -. So others' permissions should be --x.
  3. Step 3: Match the options

    rwxrwx--- ends with --- (no permissions).
    rwxrwxr-- ends with r-- (read only).
    rwxrwxrwx ends with rwx (all permissions).
    rwxrwx--x ends with --x (execute only).
  4. Final Answer:

    rwxrwx--x -> Option A
  5. Quick Check:

    Others execute permission = last x in string [OK]
Quick Trick: Others' permissions are the last three characters [OK]
Common Mistakes:
MISTAKES
  • Confusing read (r) with execute (x)
  • Ignoring the position of others' permissions
  • Assuming dashes mean execute permission

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes