[Bugs] [Bug 1275721] POSIX ACLs as used by a FUSE mount can not use more than 32 groups

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 4 09:54:00 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1275721

Saurabh <saujain at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |ASSIGNED



--- Comment #6 from Saurabh <saujain at redhat.com> ---
I did the test as per steps mentioned in the comment #0,

1. created a volume of dist-rep type. 
# gluster volume info vol0

Volume Name: vol0
Type: Distributed-Replicate
Volume ID: ec0937d1-20d3-4b1f-bb7f-f1191b3b00ff
Status: Started
Number of Bricks: 6 x 2 = 12
Transport-type: tcp
Bricks:
Brick1:
10.70.46.8:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick1/d1r1
Brick2:
10.70.46.27:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick2/d1r2
Brick3:
10.70.46.25:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick3/d2r1
Brick4:
10.70.46.39:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick4/d2r2
Brick5:
10.70.46.8:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick5/d3r1
Brick6:
10.70.46.27:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick6/d3r2
Brick7:
10.70.46.25:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick7/d4r1
Brick8:
10.70.46.39:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick8/d4r2
Brick9:
10.70.46.8:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick9/d5r1
Brick10:
10.70.46.27:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick10/d5r2
Brick11:
10.70.46.25:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick11/d6r1
Brick12:
10.70.46.39:/run/gluster/snaps/219cecd6243147968c78c349488d0a29/brick12/d6r2
Options Reconfigured:
performance.readdir-ahead: on
nfs.disable: on
features.cache-invalidation: off
ganesha.enable: on
cluster.enable-shared-storage: enable
nfs-ganesha: enable



2. mounted the volume with native client and acls enabled.
# history | grep glusterfs | grep mount
  mount -t glusterfs -o acl 10.70.44.92:/vol0 /mnt

3. create a user
  id 33groupuser

4. created 33 groups

5. added the user 33groupuser to all 33 groups,
   uid=1500(33groupuser) gid=1500(33groupuser)
groups=1500(33groupuser),2001(g1),2002(g2),2003(g3),2004(g4),2005(g5),2006(g6),2007(g7),2008(g8),2009(g9),2010(g10),2011(g11),2012(g12),2013(g13),2014(g14),2015(g15),2016(g16),2017(g17),2018(g18),2019(g19),2020(g20),2021(g21),2022(g22),2023(g23),2024(g24),2025(g25),2026(g26),2027(g27),2028(g28),2029(g29),2030(g30),2031(g31),2032(g32),2033(g33)

steps 3 4 5 are executed on all servers and clients as well.

6. setfacl as mentioned,
   setfacl -m g:g33:rwx /mnt//dir/

7. execute touch command to create a user 33groupuser,
   # su 33groupuser sh -c "touch /mnt/dir/file"
   touch: cannot touch `/mnt/dir/file': Permission denied

8. # getfacl /mnt/dir/
getfacl: Removing leading '/' from absolute path names
# file: mnt/dir/
# owner: root
# group: root
user::rwx
group::r-x
group:g33:rwx
mask::rwx
other::r-x

Based on the case above I am moving this bz to assigned state.

on client,
glusterfs-3.7.5-9.el6.x86_64

on server,
glusterfs-3.7.5-9.el7rhgs.x86_64

If more information is required or missed some step please update me
accordingly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9gVeumYik0&a=cc_unsubscribe


More information about the Bugs mailing list