[Gluster-users] Renaming permission denied

Brian Rosner brosner at gmail.com
Sat Dec 10 18:55:37 UTC 2011


Here is my setup:

Volume Name: g-data-instances
Type: Distributed-Replicate
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.x.x.106:/var/g/data-instances
Brick2: 10.x.x.131:/var/g/data-instances
Brick3: 10.x.x.0:/var/g/data-instances
Brick4: 10.x.x.201:/var/g/data-instances

running on 3.2.5. The client is mounted:

mount -t glusterfs 10.x.x.106:/g-data-instances /mnt

I am seeing:

[2011-12-10 18:45:24.792339] I
[client3_1-fops.c:818:client3_1_setxattr_cbk]
0-g-data-instances-client-0: remote operation failed: Permission
denied
[2011-12-10 18:45:24.792502] I
[client3_1-fops.c:818:client3_1_setxattr_cbk]
0-g-data-instances-client-1: remote operation failed: Permission
denied
[2011-12-10 18:45:24.795528] W [fuse-bridge.c:1348:fuse_rename_cbk]
0-glusterfs-fuse: 484: /i130/xapian/position.tmp ->
/i130/xapian/position.baseB => -1 (Permission denied)

I have tried to produce this in other ways such as:

sudo -u i130 bash -c "umask 027 ; python"
>>> open("/mnt/i130/xapian/a", "wb").write("hello")
>>> import os
>>> os.rename("/mnt/i130/xapian/a", "/mnt/i130/xapian/b")

however, this example works flawlessly. I've tracked down the line of
code in xapian which is seeing the error and it looks to be a
straightforward rename system call.

Does anyone have ideas on what I can try to resolve this issue?

-- 
Brian Rosner
http://twitter.com/brosner



More information about the Gluster-users mailing list