303-300 · Question #23
Linux Extended File Attributes are organized in namespaces. Which of the following names correspond to existing attribute namespaces?(Choose THREE correct answers.)
The correct answer is B. system D. trusted E. user. Linux Extended File Attributes (xattrs) define four official namespaces: user, trusted, system, and security. The question's correct answers - system (B), trusted (D), and user (E) - are three of those four real namespaces. The user namespace is accessible to regular users…
Question
Linux Extended File Attributes are organized in namespaces. Which of the following names correspond to existing attribute namespaces?(Choose THREE correct answers.)
Options
- Adefault
- Bsystem
- Cowner
- Dtrusted
- Euser
How the community answered
(29 responses)- A3% (1)
- B86% (25)
- C10% (3)
Explanation
Linux Extended File Attributes (xattrs) define four official namespaces: user, trusted, system, and security. The question's correct answers - system (B), trusted (D), and user (E) - are three of those four real namespaces. The user namespace is accessible to regular users (subject to file permissions), trusted requires the CAP_SYS_ADMIN capability, and system is used by the kernel for features like POSIX ACLs.
default (A) and owner (C) are distractors - neither exists as an xattr namespace. "Default" might seem plausible by analogy with ACL default entries, and "owner" sounds intuitive but is not part of the xattr namespace specification.
Memory tip: Think of the real namespaces as SUTS - Security, User, Trusted, System. For this question, just remember that "owner" and "default" are invented - the real namespaces reflect privilege levels (user → trusted → system/security), not filesystem concepts like ownership or defaults.
Topics
Community Discussion
No community discussion yet for this question.