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 file permissions follow a three-tier model: owner (user), group, and others (other). Each file has exactly one owner and one group, with separate read/write/execute permissions for each category. Option C correctly describes this hierarchical structure with three distinct permission classes; option A is too restrictive (ignores group and others), option B falsely claims multiple owners (UNIX supports only one), and option D incompletely describes the permission model by omitting the 'others' category.
Step-by-step Derivation:
UNIX file permissions are managed via the chmod/chown system and displayed with ls -l. A typical permission string like -rw-r--r-- 1 owner group shows: (1) exactly one owner, (2) one associated group, (3) three permission sets: owner (rw-), group (r--), others (r--). This three-tier model allows fine-grained access control beyond a single user, making C the accurate description.