Mike Hanby
2010-Nov-11 18:30 UTC
[Gluster-users] NFS Mounted GlusterFS, secondary groups not working
Howdy, I have a GlusterFS 3.1 volume being mounted on a client using NFS. From the client I created a directory under the mount point and set the permissions to root:groupa 750 My user account is a member of groupa on the client, yet I am unable to list the contents of the directory: $ ls -l /gfs/dir1 ls: /gfs/dir1/: Permission denied $ ls -ld /gfs/dir1 rwxr-x--- 9 root groupa 73728 Nov 9 09:44 /gfs/dir1/ $ groups myuser groupa I am able to list the directory as the user root. If I change the group ownership to my primary group, myuser, then I can successfully list the contents of the directory. $ sudo chgrp myuser /gfs/dir1 $ ls -ld /gfs/dir1 rwxr-x--- 9 root myuser 73728 Nov 9 09:44 /gfs/dir1/ $ ls -l /gfs/dir1 drwxr-xr-x 5 root root 73728 Mar 26 2010 testdir1 drwxr-x--- 4 root root 73728 Apr 8 2010 testdir2 drwxr-x--- 2 root root 73728 Aug 4 21:23 testdir3 The volume is being exported using the builtin GlusterFS NFS server. The servers and client are all CentOS 5.5 x86_64 boxes. Thanks for any suggestions, Mike ================================Mike Hanby mhanby at uab.edu UAB School of Engineering Information Systems Specialist II IT HPCS / Research Computing
Shehjar Tikoo
2010-Nov-11 18:50 UTC
[Gluster-users] NFS Mounted GlusterFS, secondary groups not working
Hi, It might be related to a bug filed at: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2045 If you please update it there or file a new one, I'll take a look. Thanks. ----- Original Message -----> From: "Mike Hanby" <mhanby at uab.edu> > To: gluster-users at gluster.org > Sent: Friday, November 12, 2010 12:00:23 AM > Subject: [Gluster-users] NFS Mounted GlusterFS, secondary groups not working > Howdy, > > I have a GlusterFS 3.1 volume being mounted on a client using NFS. > From the client I created a directory under the mount point and set > the permissions to root:groupa 750 > > My user account is a member of groupa on the client, yet I am unable > to list the contents of the directory: > > $ ls -l /gfs/dir1 > ls: /gfs/dir1/: Permission denied > > $ ls -ld /gfs/dir1 > rwxr-x--- 9 root groupa 73728 Nov 9 09:44 /gfs/dir1/ > > $ groups > myuser groupa > > I am able to list the directory as the user root. If I change the > group ownership to my primary group, myuser, then I can successfully > list the contents of the directory. > > $ sudo chgrp myuser /gfs/dir1 > $ ls -ld /gfs/dir1 > rwxr-x--- 9 root myuser 73728 Nov 9 09:44 /gfs/dir1/ > > $ ls -l /gfs/dir1 > drwxr-xr-x 5 root root 73728 Mar 26 2010 testdir1 > drwxr-x--- 4 root root 73728 Apr 8 2010 testdir2 > drwxr-x--- 2 root root 73728 Aug 4 21:23 testdir3 > > The volume is being exported using the builtin GlusterFS NFS server. > The servers and client are all CentOS 5.5 x86_64 boxes. > > Thanks for any suggestions, > > Mike > > ================================> Mike Hanby > mhanby at uab.edu > UAB School of Engineering > Information Systems Specialist II > IT HPCS / Research Computing > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users