In UNIX-like OS, the authority for a certain file varies depending on the user who uses it.
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
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
UNIX-like systems use a three-tier permission model: owner (user), group, and others. Each file has exactly one owner and one group, and permissions are independently granted to all three categories. Options A and B are incorrect because multiple owners are not supported. Option D is incomplete as it omits the 'others' category.
Step-by-step Derivation:
UNIX file permissions follow the rwx (read, write, execute) model applied to three entities: (1) owner/user - the file creator, (2) group - a set of users with shared permissions, and (3) others - all remaining users. Each category can have different permission levels. This is viewable via ls -l, showing format like -rwxr-xr-x where the 9 characters represent owner (chars 1-3), group (chars 4-6), and others (chars 7-9). Only option C correctly describes this three-way permission structure.