[Bug 43954] Re: setfattr always returns "Operation Not Supported"

plectrum joachim.deguara at amd.com
Fri Jul 6 08:31:02 UTC 2007


I had the same problem with openSUSE 10.3 alpha, so I looked at the code
and straces from attr and setfattr.  What happens is attr automatically
prefixes 'user.' to the attribute.  setfattr works if one also prefixes
'user.' to the attribute so the following two work:

$ attr -s foo -V bar foobar
Attribute "foo" set to a 3 byte value for foobar:
bar
$ setfattr -n user.foo2 -v bar2 foobar
$ getfattr -d foobar
# file: foobar
user.foo="bar"
user.foo2="bar2"

so this bug can be marked as INVALID (however launchpad does that).

-- 
setfattr always returns "Operation Not Supported"
https://bugs.launchpad.net/bugs/43954
You received this bug notification because you are a member of Kernel
Bugs, which is a bug contact for linux-source-2.6.15 in ubuntu.




More information about the kernel-bugs mailing list