Hi David,

This can be done by creating a directory in nfs mount with respective owner/group and the directory can be used during mount to allow the user specific access.

For example, a volume MyData can be mounted to make directory with respective owner/group

# mount -t nfs -o soft,nolock server1:/nfs/MyData /mnt
# mkdir /mnt/demodata
# chown demouser.demogroup /mnt/demodata
# umount /nfs/MyData

Now, demouser can mount and use with the directory for normal access.

# mount -t nfs -o soft,nolock server1:/nfs/MyData/demodata /mnt

Let me know how this works.

Thanks,

Regards
Bala


All the volumes are owned by root.


David Christensen wrote:
I am having an issue allowing non-root users the ability to write to an
nfs mount that is being shared from a volume on my newly installed
Gluster Storage Platform.

I have tried everything I know to allow read/write access however only
root is able to write to the mount point.  How is this done using
Gluster?  I know from standard NFS configurations both the client and
the server need to have users that have the same UID/GID and thought
that this might be the issue but I am not sure if it is.

Any help would be appreciated

Thanks,

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

Reply via email to