[Gluster-users] NFS Mounted GlusterFS, secondary groups not working
Mike Hanby
mhanby at uab.edu
Thu Nov 11 18:30:23 UTC 2010
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
More information about the Gluster-users
mailing list