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

2015-03-24 Thread James Pearson
muiz wrote: Hi, James, The file system is xfs (/dev/mapper/centos-home xfs 1891292900 1556745108 334547792 83% /home) XFS has a low limit on the number of entries in an ACL (about 20) However, I don't know why you are getting the error 'Argument list too long' - I get 'Operation

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

2015-03-24 Thread muiz
Hi, James, This is the first time I use XFS. That folder has 30 ACL entries. Thanks and regards, Muiz At 2015-03-24 18:44:14, James Pearson jame...@moving-picture.com wrote: muiz wrote: Hi, James, The file system is xfs (/dev/mapper/centos-home xfs 1891292900 1556745108

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

2015-03-24 Thread muiz
Thanks john and Ashishkumar S. Yadav. Now I use move some users to the specified groups to resolve this problem, but I don't want to create too many groups. Thanks and regards, Muiz At 2015-03-24 13:59:44, Ashish Yadav gwalash...@gmail.com wrote: Hi, On Tue, Mar 24, 2015 at 11:22 AM,

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

2015-03-24 Thread muiz
Hi, Ashishkumar S. Yadav: Total 30 ACL records there ( user, group, mask, default user, default group...) Now I use move some users to the specified groups to resolve this problem, but I don't want to create too many groups. Thanks and best regards, muiz At 2015-03-24 13:46:05, Ashish

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

2015-03-24 Thread Ashish Yadav
Hi, On Tue, Mar 24, 2015 at 11:22 AM, John R Pierce pie...@hogranch.com wrote: On 3/19/2015 6:14 PM, muiz wrote: 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

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

2015-03-23 Thread James Pearson
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? [root@s1 abc]# getfacl /abc # file: abc # owner: root # group: root

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

2015-03-23 Thread Ashish Yadav
Hi, How many user's you have assigned on that directory? --Regards Ashishkumar S. Yadav On Tue, Mar 24, 2015 at 5:30 AM, muiz m...@163.com wrote: Hi, James, The file system is xfs (/dev/mapper/centos-home xfs 1891292900 1556745108 334547792 83% /home) Thanks and best

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

2015-03-23 Thread John R Pierce
On 3/19/2015 6:14 PM, muiz wrote: 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? put all those users in a group, and delete all the user

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

2015-03-23 Thread muiz
Hi, James, The file system is xfs (/dev/mapper/centos-home xfs 1891292900 1556745108 334547792 83% /home) Thanks and best regards, Muiz At 2015-03-23 19:36:02, James Pearson jame...@moving-picture.com wrote: muiz wrote: Dear all, I have a Centos 6 (64bit) server used for

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

2015-03-22 Thread muiz
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 rob...@redcor.ch wrote: On

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

2015-03-20 Thread robert rottermann
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

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

2015-03-19 Thread muiz
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? [root@s1 abc]# getfacl /abc # file: abc # owner: root # group: root user::rwx