Fwd: problem with extended attributes

Niels de Vos devos at fedoraproject.org
Fri Mar 8 11:03:30 UTC 2013


On Wed, Mar 06, 2013 at 03:59:59PM +0100, Reindl Harald wrote:
...
> anybody an idea?
> 
> [root at fileserver:~]$ setfattr -n harry -v test /mnt/storage/test
> setfattr: /mnt/storage/test: Operation not supported

Try this:
$ setfattr -n user.harry -v test /mnt/storage/test

xattrs can be in the security (set by kernel), trusted (set by root) or 
user (set by users) prefixes. A xattrs "harry" is invalid and the kernel 
correctly tells you that setting that xattr is not supported. (Maybe 
some filesystems allow these uncommon names, but it is better to not use 
them.)

HTH,
Niels


More information about the devel mailing list