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

From: Chris Wright (chrisw@private)
Date: Fri Oct 08 2004 - 12:25:36 PDT


[ Cc'd acl-devel, as it's an xattr question ]

* prakash.banu@private (prakash.banu@private) 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



This archive was generated by hypermail 2.1.3 : Fri Oct 08 2004 - 12:25:47 PDT