OA. free
Free
Accenture Core Computer Science Core Computer Science Medium

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?

Choose one option.
Show answer & explanation
Answer: C. There is one owner and group in the file, and different authorities are given to the user who is the owner, the users belonging to the group and users of the other type.

UNIX file permissions use a three-category model: owner (user), group, and others (everyone else). Each category can have different permissions (read, write, execute). Option C correctly describes this three-tier permission system. Options A and B are incomplete (they ignore group and other permissions), and Option D incorrectly claims multiple owners/groups exist, which UNIX does not support.

Step-by-step Derivation:
UNIX file permission structure uses ls -l output format: -rwxrwxrwx owner group. The model consists of exactly three permission categories: (1) owner/user - the file creator, (2) group - users in the file's assigned group, (3) others - all remaining users. Each category independently receives read (r=4), write (w=2), execute (x=1) permissions. This allows granular access control while maintaining a single ownership model. Option C is the only description that accurately captures all three categories and their distinct permission assignments.