[Gluster-users] Permissions Problem?

Michael Messig michael.messig at sitepoint.com
Wed Jul 23 06:44:50 UTC 2008


Hi,

We are using gluster on two servers to have a high availability file 
server solution. It works great but we have a weird permissions problem 
happening that I hope someone has solved before! Every now and then the 
mountpoint (lets say /mnt/data) goes from this:

mnt]# ls -la
drwxr-xr-x  3 root root 4096 May 22 15:05 .
drwxr-xr-x 25 root root 4096 Jun 20 15:48 ..
drw-r-xr-x  5 root root 4096 Jul 22 11:28 data

to this:

mnt]# ls -la
drwxr-xr-x  3 root root 4096 May 22 15:05 .
drwxr-xr-x 25 root root 4096 Jun 20 15:48 ..
drw-rw-r--  5 root root 4096 Jul 22 11:28 data

The gluster log files don't show any errors coinciding with when this 
takes place. I've forced particular permissions in  fstab (having 
initially thought it was a mount/remount issue to no avail):

/etc/glusterfs/glusterfs-client.vol  /mnt/data  glusterfs  mode=755  0  0

Having the execute permission removed on this directory (as you can 
imagine) really messes up listing the contents of the directory by any 
user other than root... Any suggestions?

Cheers,

Mike




More information about the Gluster-users mailing list