xfs
[Top] [All Lists]

problem with setxattr

To: linux-xfs@xxxxxxxxxxx
Subject: problem with setxattr
From: ankur mattoo <coolpal53@xxxxxxxxx>
Date: Mon, 22 Mar 2004 10:14:14 -0800 (PST)
Sender: linux-xfs-bounce@xxxxxxxxxxx
hi
okay im trying to use setxattr and my simple prog is
giving an invalid argument error on stracing!!

main()
{
char *buff;
size_t
t=getxattr("ankur1","system.posix_acl_access",buff,0);
buff=(char  *)malloc(t);
getxattr("ankur1","system.posix_acl_access",buff,0);
if(setxattr("ankur1","system.posix_acl_access",buff,t,0));
perror("Error");
}



i am  using linux 2.4.23 with EA patch.
setfacl and getfacl all these commands are working
properly.


Can anyone help me with this !!
-Ankur
 BE computers

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


<Prev in Thread] Current Thread [Next in Thread>