setfacl directory limit

hello,

I am using XFS filesystem & ACL (setfacl/getfacl). I can set ACL entries only for 21 users per one directory. For the 22nd user it shows invalid argument.

Has somebody the same problem? I need to override this limit.

thnks in advance

david

I believe that ACLS are implemented on top of XFS extended attributes (EAs) which are name,value pairs. Name has a limit <= 254 characters. Is this your problem?

1 Like

Yes, XFS only supports 25 ACEs as defined in the source code (See here).

Why not create a group and set the ACL for that group?

1 Like

thank you very much .. I had the same idea with a group, but I have special case where I needed know the limit .. so I asked .. thanks again