nerdexam
LPI

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…

Access Control

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)
  • A
    3% (1)
  • B
    86% (25)
  • C
    10% (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

#Extended File Attributes#Linux File Systems#File Metadata#Access Control

Community Discussion

No community discussion yet for this question.

Full 303-300 Practice