Re: extended attribute support--ssetfattr: key: Operation not supported

Chris Wright <[email protected]> Fri, 8 Oct 2004 12:25:36 -0700
Newsgroups gmane.linux.kernel.lsm,gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
[ Cc'd acl-devel, as it's an xattr question ]

* [email protected] ([email protected]) wrote:
>  I'm trying to set the attibute for a file using setfattr but it gives
>      $ setfattr -n ban -v 10 key
>        setfattr: key: Operation not supported

> i have mounted the filesystem with xfs support ,even then it gives the
> above error ,please give solution for this problem
> (setxattr system calla returns the same error )

Assuming you have support compiled into your kernel, your fs supports it
(xfs does).  Use a prefix that can be handled.  Such as "user.", e.g.
user.ban. 

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net