[Gluster-users] strange owners issue? ownership reset by the other gluster node

Tomasz Chmielewski mangoo at wpkg.org
Tue Sep 14 20:58:47 UTC 2010


On 14.09.2010 22:50, Tomasz Chmielewski wrote:
> On 14.09.2010 22:43, Douglas Stanley wrote:
>> Did you do the chown operation to the mounted gluster filesystem, or
>> to the exported by gluster filesystem on one of your storage bricks?
>>
>> What I mean is, is /shared/www what is exported in your
>> glusterfsd.vol, or did you do mount -t glusterfs volfile /shared/www ?
>
> I made the chown operation on the glusterfs filesystem mounted on /shared:
>
> /etc/glusterfs/glusterfs.vol on /shared type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)
>
>
> cat /etc/fstab:
> (...)
> /etc/glusterfs/glusterfs.vol  /shared  glusterfs  defaults  0  0
>
>
>
> Also, permissions are reset when doing similar operations.

Really strange:

server1# cd /shared
server1# chmod 777 ldirectord.cf


server2# cd /shared
server2# ls -l
(...)
-rwxrwxrwx 1 root root   1941 2010-09-14 15:12 ldirectord.cf
server2# ls -l
(...)
-rw-r--r-- 1 root root   1941 2010-09-14 15:12 ldirectord.cf


This file is not opened by anything, and nothing touches this file 
(except the commands above, or glusterfs).

I can reproduce it for other files I create.


Kind of unexpected :(


-- 
Tomasz Chmielewski
http://wpkg.org




More information about the Gluster-users mailing list