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
[email protected]
UAB School of Engineering
Information Systems Specialist II
IT HPCS / Research Computing


_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to