Difficulty: Easy
Correct Answer: Write permission for others
Explanation:
Introduction / Context:UNIX file permissions are often represented in octal form as owner-group-others. Each digit sums the bits: read=4, write=2, execute=1. Correctly interpreting these digits ensures accurate security settings and prevents accidental exposure or loss of access.
Given Data / Assumptions:
Concept / Approach:Break 652 into three classes. Owner=6 maps to r and w (4+2). Group=5 maps to r and x (4+1). Others=2 maps to w only. Validate each provided statement against these derived permissions to find the single correct description.
Step-by-Step Solution:
Owner 6: r=4, w=2, x=0 → rw-.Group 5: r=4, w=0, x=1 → r-x.Others 2: r=0, w=2, x=0 → -w-.Evaluate statements: owner execute? No. others write? Yes. group read+write? No, it is read+execute.Verification / Alternative check:Use a quick mnemonic: 7=rwx, 6=rw-, 5=r-x, 4=r--, 2=-w-, 1=--x. This cross-check confirms that others have write permission in 652.
Why Other Options Are Wrong:Execute permission for the owner: owner has rw-, no execute. Read and write permission of groups: group has r-x, not write. All of the above/None of the above: inconsistent with the analysis; only the statement about “write for others” is true.
Common Pitfalls:Confusing group and others digits; assuming “5” includes write; forgetting that octal 2 is write-only. Always decompose each digit into 4, 2, and 1 to avoid mistakes.
Final Answer:Write permission for others
Discussion & Comments