LX0-104 · Question #366
Linux Extended Attributes include attribute classes. Which of the following are included in the defined attribute classes? (Select THREE correct answers)
The correct answer is B. system D. trusted E. user. This question asks to identify the defined attribute classes or namespaces for Linux Extended Attributes.
Question
Options
- Adefault
- Bsystem
- Cowner
- Dtrusted
- Euser
How the community answered
(28 responses)- A4% (1)
- B93% (26)
- C4% (1)
Why each option
This question asks to identify the defined attribute classes or namespaces for Linux Extended Attributes.
`default` is not a defined attribute class or namespace for extended attributes in Linux.
The `system` attribute class is used by the kernel for internal purposes, such as storing POSIX ACLs and security attributes, and typically requires root privileges for access.
`owner` is not a defined attribute class or namespace for extended attributes in Linux; permissions are handled by standard file permissions and ACLs.
The `trusted` attribute class stores attributes that can only be read or modified by processes with specific elevated capabilities (e.g., `CAP_SYS_ADMIN`), making them suitable for sensitive system information.
The `user` attribute class allows regular users to store arbitrary metadata on files, subject to file permissions, without requiring special privileges beyond those needed to write to the file itself.
Concept tested: Linux Extended Attribute classes
Source: https://man7.org/linux/man-pages/man7/xattr.7.html
Topics
Community Discussion
No community discussion yet for this question.