Q9 (20 points) In UNIX-like OS, the authority for a certain file varies depending on the...
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
(20 points)**
In UNIX-like OS, the authority for a certain file varies depending on the user who uses it. Which of the following description is correct?
Show answer & explanation
In UNIX-like systems, file permissions are managed through a three-tier model: owner (user), group, and others. Each file has exactly one owner and one group, with different permission levels (read, write, execute) assigned to each category. Option C correctly describes this three-category permission model, whereas A limits permissions to only the owner, B incorrectly allows multiple owners, and D does not properly describe the permission hierarchy.
Step-by-step Derivation:
UNIX file permissions (displayed via ls -l) show three permission sets: rwx for owner, rwx for group members, and rwx for others. Each file has exactly one user owner and one group owner. Permissions can differ across all three categories independently. For example: -rw-r--r-- means owner has read/write, group has read-only, others have read-only. This matches option C's description of different authorities for owner, group members, and other users.