010-150 · Question #69
What are the three sets of permissions for a file?
The correct answer is A. user, group, others. Linux file permissions are divided into three sets: user (owner), group, and others. These map to the three permission triplets visible in ls -l output.
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
(57 responses)- A77% (44)
- B14% (8)
- C5% (3)
- D4% (2)
Why each option
Linux file permissions are divided into three sets: user (owner), group, and others. These map to the three permission triplets visible in ls -l output.
Linux and Unix-like systems define permissions for exactly three identity classes: user (the file owner), group (members of the file's associated group), and others (everyone else). This model is foundational to Unix discretionary access control and is reflected in the rwxrwxrwx permission string.
'Administrator' is not a Linux permission class - the owner of a file is called 'user', regardless of privilege level.
'Standard user' is a Windows-centric concept and does not correspond to any of the three Linux permission sets.
Both 'administrator' and 'standard user' are Windows terminology and have no direct mapping to Linux file permission classes.
Concept tested: Linux file permission ownership classes
Source: https://www.man7.org/linux/man-pages/man1/chmod.1.html
Topics
Community Discussion
No community discussion yet for this question.