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
|