ACE-P-ALE1-04 practice question 8 of 35

The three classes in the file mode are

Full set: 100 questions
Answer options
A: owner/group/world
B: read/write/execute
C: user/group/other Correct answer
D: setuid/setgid and sticky
Correct Answer:
C. user/group/other
Explanation

In Unix-like operating systems, including the Linux environment used by Arista EOS, the file mode defines access permissions for three distinct classes of users. These classes are:
1. User (u): The owner of the file.
2. Group (g): The group of users associated with the file.
3. Other (o): All other users on the system who are not the owner and are not in the group. For each of these classes, specific permissions (read, write, execute) can be granted or denied.

Why Incorrect

A. owner/group/world: While "owner" is synonymous with "user" and "world" is a common colloquialism for "other," option C uses the more precise and standard POSIX terminology.
B. read/write/execute: These are the types of permissions that can be assigned to the user classes, not the classes themselves.
D. setuid/setgid and sticky: These are special permission bits that modify the behavior of executable files and directories, not the fundamental user classes for which permissions are defined.

References

1. Arista Networks Documentation: The Arista Linux Essentials (ALE) course, which the ACE P ALE1 exam is based on, covers standard Linux file permissions. The chmod command in the EOS Command Reference explicitly details these classes.

Source: Arista EOS 4.28.1F Command Reference, chmod command section. It describes the who argument as "a combination of the letters u (for user), g (for group), and o (for other)."

2. University Courseware: Reputable university courses on operating systems and Linux fundamentals consistently define these three classes.

Source: MIT OpenCourseWare, 6.033 Computer System Engineering, Spring 2018. Lecture 10: "Access control in Unix". The lecture notes specify permissions are set for three categories of users: the file's owner (user), members of the file's group (group), and everyone else (other).

3. Official Linux Documentation (man pages): The canonical reference for Linux commands confirms this structure.

Source: man 1 chmod (from the Linux man-pages project). The description of the symbolic mode states: "The symbolic mode is described by the grammar: [ugoa...][[+-=][perms...]...][,...]... The letters u, g, and o stand for the user who owns the file (owner), users in the file's group (group), and other users."

Scroll to Top