[CentOS] Centos 6: setfacl: .: Argument list too long

Fri Mar 20 08:50:41 UTC 2015
robert rottermann <robert at redcor.ch>

On 20.03.2015 02:14, muiz wrote:
> Dear all,
>
>
>   I have a Centos 6 (64bit) server used for samba and ACL control.
>   There has a folder which a lot of user can access, when I add a new user's ACL, but failed, do you know how to resolve this problem?

use xargs like in:

|find . -name "*.pdf" -print0 | xargs -0 RUNACOMMAND
robert
|


>
>
> [root at s1 abc]# getfacl /abc
> # file: abc
> # owner: root
> # group: root
> user::rwx
> user:user01:---
> user:user02:---
> user:user03:---
> ...
> user:user25:---
> group::r-x
> mask::r-x
> other::r-x
> [root at s1 abc]# setfacl -m u:user30:rwx /abc
> setfacl: .: Argument list too long
> [root at s1 abc]#
>
>
>
>
> Thanks and best regards,
> muiz
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>