problem with extended attributes

Reindl Harald h.reindl at thelounge.net
Fri Mar 8 11:08:53 UTC 2013



Am 08.03.2013 12:03, schrieb Niels de Vos:
> 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.)

thank you!

someone responded short after my message on the user-list

i am at debugging with upstream why netatalk3 doe snot work
on upgraded and converted AFP-Volumes and instead brings
Apple Finder to the "spinning wheel of dead" and here where
some ACL "not permitted"-warnings in the debug-log after that
netatalk-upstream said "well, read ACL works, please try
if you can write ACLs on this filesystem" and i did not
know much more as "setfattr --help" said

maybe it would be a good diea to imporve the output

[harry at srv-rhsoft:~]$ LANG=c; setfattr --help
setfattr 2.4.46 -- set extended attributes
Usage: setfattr {-n name} [-v value] [-h] file...
       setfattr {-x name} [-h] file...
  -n, --name=name         set the value of the named extended attribute
  -x, --remove=name       remove the named extended attribute
  -v, --value=value       use value as the attribute value
  -h, --no-dereference    do not dereference symbolic links
      --restore=file      restore extended attributes
      --version           print version and exit
      --help              this help text

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130308/4467f213/attachment.sig>


More information about the devel mailing list