getfattr: Argument list too long

Bjoern JACKE <[email protected]> Fri, 3 Jun 2005 15:47:45 +0200
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
Hi,

I was just about to do some ACL/XATTR limit tests and found this 
problem in getfattr.

I run this simple test:

for i in `seq 1 10000` ; do setfattr --name=user.fred$i -h --value=foo acltest2 ; echo $i >>/dev/stderr; getfattr acltest2 >/dev/null ; done 2>>err

I get with >= 4761 xattr entries an error from getfattr:

acltest2: Argument list too long

Dumping single attributes above 4761 is possible but not the whole 
list. (I have to admit so many attributes on one file will be 
rarely used ;)

The test was done using libattr 2.4.12 on SLES9 x86_64 on xfs.

Bjoern
_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel