010-100 · Question #82
What are the three sets of permissions for a file?
The correct answer is A. user, group, others. Linux file permissions are divided into exactly three categories - owner (user), group, and others - each with independent read, write, and execute bits.
Question
What are the three sets of permissions for a file?
Options
- Auser, group, others
- Badministrator, group, others
- Cuser, standard user, others
- Dadministrator, standard user, others
How the community answered
(25 responses)- A72% (18)
- B8% (2)
- C16% (4)
- D4% (1)
Why each option
Linux file permissions are divided into exactly three categories - owner (user), group, and others - each with independent read, write, and execute bits.
The Linux permission model uses three subjects: the file's owner (user), members of the file's associated group, and all other users on the system. Each category receives its own rwx triplet, visible in the output of 'ls -l' as nine permission bits total.
'Administrator' is not a Linux permission category; the three categories are user, group, and others.
'Standard user' is not a valid Linux file permission category; 'others' covers all non-owner, non-group users.
Neither 'administrator' nor 'standard user' are Linux file permission categories; the correct terms are user, group, and others.
Concept tested: Linux file permission categories (UGO)
Source: https://man7.org/linux/man-pages/man1/chmod.1.html
Topics
Community Discussion
No community discussion yet for this question.