[Gluster-users] Permissions on mount point
Marcio Teixeira
Marcio.Teixeira at numerica.us
Wed Jun 17 19:25:31 UTC 2009
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>
More information about the Gluster-users
mailing list