The xattr package

[ Tags: bsd3, library, system ] [ Propose Tags ]

Relatively low-level interface to work with extended attributes on Unix systems. This is a fairly straightforward port of the API exposed by SGI's libattr.

[Skip to Readme]


Versions 0.5, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.6.2
Dependencies base (>=4.0 && <5), bytestring, unix [details]
License BSD3
Copyright (c) 2009 by Evan Klitzke, (c) 2012 by Deian Stefan
Author Evan Klitzke, Deian Stefan
Maintainer Deian Stefan <>
Category System
Source repo head: git clone git://
Uploaded Tue Feb 14 21:05:06 UTC 2012 by DeianStefan
Distributions NixOS:0.6.2
Downloads 1950 total (28 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for xattr-0.6.0

[back to package description]

This implements bindings to SGI's libattr, which provides access to extended attributes on Unix systems for filesystems that support them. In particular, this provides access to extended attributes on ext3/4 and xfs on Linux (as well as other filesystems that support this interface). For more information about extended attributes, see the man page for attr(5).

To build this code, you'll need to have the libattr development headers installed. On Fedora/RHEL the package name is libattr-devel. On Debian/Ubuntu the package name is attr-dev. On Arch the package is attr.

You can find the latest stable version of this code on HackageDB. The bleeding-edge version of the code is hosted on git://