The xattr package

[Tags:bsd3, library, test]

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, (c) 2012 by Amit Levy
Author Evan Klitzke, Deian Stefan
Maintainer Deian Stefan <>
Category System
Source repository head: git clone git://
Uploaded Sun Feb 23 08:01:33 UTC 2014 by DeianStefan
Distributions NixOS:0.6.2
Downloads 1184 total (2 in the last 30 days)
0 []
Status Docs uploaded by user [build log]
All reported builds failed [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for xattr

Readme for xattr-0.6.2

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://