Hi everyone, How do I change the permissions on a glusterfs mount? I have mounted a glusterfs volume in /scratch/notbackedup, but when a regular user tries to write to that directory, they get "access denied". This is because that directory does not have write permissions for users: [root at lead scratch]# ls -la /scratch total 60 drwxr-xr-x 6 root root 4096 2009-06-17 04:46 . drwxr-xr-x 28 root root 4096 2009-06-17 07:00 .. drwxr-xr-x 2 root root 4096 2009-06-17 07:18 .glusterfs_storage drwxr-xr-x 2 root root 8192 2009-06-17 18:15 notbackedup However, even though I set the permissions to 1777 on the mount point, once that mount is established, the permissions change and I do not know where those permissions are coming from. Is there any way to override those default permissions? I am using GlusterFS 2.0.1-1, compiled from the source RPMS. Thanks, Marcio Teixeira # Client configuration volume host1 type protocol/client option transport-type tcp option remote-host host1 option remote-subvolume brick end-volume volume host2 type protocol/client option transport-type tcp option remote-host host2 option remote-subvolume brick end-volume volume nufa type cluster/nufa option local-volume-name host1 subvolumes host1 host2 end-volume # Server configuration volume posix type storage/posix option directory /scratch/.glusterfs_storage end-volume volume locks type features/locks subvolumes posix end-volume volume brick type performance/io-threads subvolumes locks end-volume volume server type protocol/server option transport-type tcp option auth.addr.brick.allow * subvolumes brick end-volume -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090617/2dde7020/attachment.html>
On Wed, Jun 17, 2009 at 3:25 PM, Marcio Teixeira<Marcio.Teixeira at numerica.us> wrote:> However, even though I set the permissions to 1777 on the mount point, once > that mount is established, the permissions change and I do not know where > those permissions are coming from. Is there any way to override those > default permissions?If I might ask, did you set these permissions while gluster was mounted on the mount point, or did you do this without the mount having been established? Also, is the glusterfs process running as root in this scenario, or is it running as a low-priority user? Ess -- SO not teh 1337