Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 not permitted' when I try to and an entry that goes over the limit ... I believe more recent versions of the XFS code support more ACL entries (may be more recent than that used by RHEL/CentOS 7 ?) James Pearson ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 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 not permitted' when I try to and an entry that goes over the limit ... I believe more recent versions of the XFS code support more ACL entries (may be more recent than that used by RHEL/CentOS 7 ?) James Pearson ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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, 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 to resolve this problem? put all those users in a group, and delete all the user ACLs on that directory, just add the single group ACL This is a nice way to do. Totally agreed. --Regards Ashishkumar S. Yadav ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 Yadav gwalash...@gmail.com wrote: 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 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 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 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]# What file system are you using? James Pearson ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 to resolve this problem? put all those users in a group, and delete all the user ACLs on that directory, just add the single group ACL This is a nice way to do. Totally agreed. --Regards Ashishkumar S. Yadav ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 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]# What file system are you using? James Pearson ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 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 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 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]# What file system are you using? James Pearson ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 ACLs on that directory, just add the single group ACL -- john, recycling bits in santa cruz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 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 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]# What file system are you using? James Pearson ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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 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@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6: setfacl: .: Argument list too long
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@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Centos 6: setfacl: .: Argument list too long
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 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@centos.org http://lists.centos.org/mailman/listinfo/centos