IT lexicon › Infra & Ops › Extended attributes

Extended attributes

Infra & Ops På svenska → Updated: 2026-11-16

Arbitrary key–value pairs that can be attached to files or directories beyond POSIX metadata.

Extended attributes (xattr) let applications store metadata outside the POSIX standard (owner, permissions, timestamps). Common examples: SELinux labels, resource forks, Windows file attributes, file description tags. They live in the filesystem's metadata region, usually embedded in the inode or spilled to an attribute block when space runs out. Not all filesystems support xattr—FAT32 doesn't, but ext4, NTFS, and APFS do. Copying files between different filesystem types often strips xattr silently.

← Back to the lexicon