LFCS · 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. Linux Extended Attributes categorize additional metadata into distinct classes that define their purpose and access permissions.
Question
Options
- Adefault
- Bsystem
- Cowner
- Dtrusted
- Euser
How the community answered
(32 responses)- A9% (3)
- B88% (28)
- C3% (1)
Why each option
Linux Extended Attributes categorize additional metadata into distinct classes that define their purpose and access permissions.
`default` is not an attribute class for extended attributes; it refers to a type of ACL entry used on directories.
The `system` attribute class is a predefined namespace for extended attributes that store system-specific metadata, often managed by the kernel or core utilities.
`owner` is a standard file metadata (user ID of the owner) and not one of the extended attribute classes.
The `trusted` attribute class is a predefined namespace for extended attributes that can only be accessed or modified by privileged processes, such as the root user.
The `user` attribute class is a predefined namespace for extended attributes that allows regular users to store and retrieve arbitrary metadata on files.
Concept tested: Linux Extended Attribute classes
Source: https://www.kernel.org/doc/html/latest/filesystems/xattr.html
Topics
Community Discussion
No community discussion yet for this question.