All mock tests are FREE till 31 December — register to save your progress

Consider the following statements about UNIX file permissions:
(A) UNIX provides three permission types — Read, Write and Execute.
(B) UNIX provides three permission sets — Owner, Group and Others.
Which of the above statement(s) is/are true?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Both (A) and (B)

Explanation

UNIX file permissions are organised along two independent dimensions: the type of access — read, write, execute (statement A) — and the class of user it applies to — owner, group, others (statement B). Together these give the familiar 9-bit rwxrwxrwx permission string shown by commands like `ls -l`, with three permission bits for each of the three user classes. Both statements correctly describe this scheme, so the answer is both (A) and (B), option (iii).

More Database Management Systems questions