Re: Centos 6: setfacl: .: Argument list too long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



HI, Robert, 


   Thanks very much for your reply.
   I tried but failed:


   [root@s1 abc]# find . -name "." -print0 | xargs -0 setfacl -m u:user30:rwx 
   setfacl: .: Argument list too long
   [root@s1 abc]#




Regards,
Muiz

At 2015-03-20 16:50:41, "robert rottermann" <robert@xxxxxxxxx> wrote:
>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@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@s1 abc]# setfacl -m u:user30:rwx /abc
>> setfacl: .: Argument list too long
>> [root@s1 abc]#
>>
>>
>>
>>
>> Thanks and best regards,
>> muiz
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>_______________________________________________
>CentOS mailing list
>CentOS@xxxxxxxxxx
>http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux