210-255 · Question #11
What mechanism does the Linux operating system provide to control access to files?
The correct answer is C. file permissions. Linux controls file access through a permissions model assigning read, write, and execute rights to the owner, group, and others.
Question
What mechanism does the Linux operating system provide to control access to files?
Options
- Aprivileges required
- Buser interaction
- Cfile permissions
- Daccess complexity
How the community answered
(54 responses)- A4% (2)
- B2% (1)
- C93% (50)
- D2% (1)
Why each option
Linux controls file access through a permissions model assigning read, write, and execute rights to the owner, group, and others.
'Privileges required' is a metric in the CVSS vulnerability scoring system used to rate exploit difficulty, not a Linux access control mechanism.
'User interaction' is a CVSS scoring metric describing whether a user must participate for a vulnerability to be exploited, unrelated to Linux file access.
Linux uses a file permissions system where each file and directory has three permission sets - owner, group, and others - each with read (r), write (w), and execute (x) flags enforced by the kernel. Commands such as chmod and chown are used to modify these permissions. This is the primary discretionary access control mechanism provided by the Linux operating system.
'Access complexity' is a CVSS v2 metric for rating vulnerability exploitability and has no role in Linux file access control.
Concept tested: Linux file permissions and access control model
Source: https://www.man7.org/linux/man-pages/man1/chmod.1.html
Topics
Community Discussion
No community discussion yet for this question.