[Gluster-users] root-squash permission denied on rename
Matt Robinson
m.robinson at sheffield.ac.uk
Mon Jul 4 10:44:48 UTC 2016
Hi,
I'm fairly new to gluster so please forgive me if I'm in any way out of protocol for this list.
I have a distributed volume with 2 servers hosting bricks and a third just managing the system.
I really want root squashing, as there are a large number of clients and I do not want a bad keystroke on one to wipe out the contents of the gluster file-system.
I'm using gluster 3.7.10 on Scientific Linux 6.7.
I just cannot get gluster to work properly for normal users with root-squashing enabled. The problem is easiest to reproduce if one creates a directory with mkdir, creates a file with say 'echo hi > filename' and then tries to rename the latter to place it in the former using mv. This fails about 50% of the time. My reading suggests that it occurs when gluster decides to move the file from one brick to another as it renames it. rebalance and fix-layout have been run, but have long finished and the problem persists.
I've spent a fair amount of time googling this issue and it's clearly not unprecedented, but it's supposedly fixed long before v3.7.10.
I really would appreciate it if somebody could rescue me. For the moment I'm running with server.root-squash turned off.
Thanks,
Matt.
More information about the Gluster-users
mailing list