[Gluster-users] NFS Mounted GlusterFS, secondary groups not working
Mike Hanby
mhanby at uab.edu
Fri Dec 3 21:01:39 UTC 2010
After upgrading my servers to 3.1.1 I'm still experiencing the issue with secondary groups not working with the client using NFS:
In this scenario root owns the directory and the admins non primary group (of which my id is a member) is the group:
$ groups
mikeh admins
$ ls -ld /research/project/
drwxrwx--- 10 root admins 73728 Nov 22 12:13 /gluster/project/
$ ls -l /gluster/project/
ls: /gluster/project/: Permission denied
$ mount|grep research
nas-01.mydom:/research-storage on /gluster type nfs (rw,addr=192.168.1.11)
Both Gluster servers and the client are CentOS 5 x86_64 systems. The servers had glusterfs-core / glusterfs-fuse 3.0.1-1 updated to 3.1.1-1 via the RPMs. The storage is a simple distributed file system, no striping or replication.
Following the update I rebooted both servers and remounted the NFS file system on the client.
I'll add this info to the bug as well.
Mike
-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Mike Hanby
Sent: Thursday, November 11, 2010 1:53 PM
To: 'Shehjar Tikoo'
Cc: gluster-users at gluster.org
Subject: Re: [Gluster-users] NFS Mounted GlusterFS, secondary groups not working
Thanks, that looks to be the same issue. I'll add my comments to the bug.
Mike
-----Original Message-----
From: Shehjar Tikoo [mailto:shehjart at gluster.com]
Sent: Thursday, November 11, 2010 12:51 PM
To: Mike Hanby
Cc: gluster-users at gluster.org
Subject: Re: [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
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list