Bird
0
0

Given the permission notation rw-r-----, what is the numeric (octal) equivalent?

medium📝 Command Output Q5 of 15
Linux CLI - File Permissions and Ownership
Given the permission notation rw-r-----, what is the numeric (octal) equivalent?
A660
B640
C644
D600
Step-by-Step Solution
Solution:
  1. Step 1: Convert owner permissions 'rw-'

    'r' = 4, 'w' = 2, '-' = 0, total 6.
  2. Step 2: Convert group permissions 'r--'

    'r' = 4, '-' = 0, '-' = 0, total 4.
  3. Step 3: Convert others permissions '---'

    No permissions = 0.
  4. Final Answer:

    640 -> Option B
  5. Quick Check:

    Owner=6, Group=4, Others=0 [OK]
Quick Trick: Sum read(4), write(2), execute(1) per group [OK]
Common Mistakes:
MISTAKES
  • Swapping group and others values
  • Miscounting permissions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes