Re: [Gluster-users] gluster reverting directory owndership?

2016-08-07 Thread Susant Palai
Hi Sergei,
Will need few information to proceed ahead.

- Is the chown operations were performed on a root directory ?
- Was there any add-brick operation performed before you saw the ownership 
getting reverted ?

In the mean time will try to reproduce the issue and get back to you.

Regards,
Susant Palai

- Original Message -
> From: "Sergei Gerasenko" 
> To: gluster-users@gluster.org
> Sent: Wednesday, 3 August, 2016 6:46:45 PM
> Subject: [Gluster-users] gluster reverting directory owndership?
> 
> Hi,
> 
> It seems that glusterfsd reverts ownership on directories on the brick. I
> would set a directory to be owned by root:root and within a half hour they
> are back to the previous value. Audit logs show that glusterfsd performed
> the change, thought it’s not clear if something “asked” glusterfsd to do it:
> 
> type=PATH msg=audit(08/03/2016 00:08:02.401:93734) : item=0
> name=/data/ftp_gluster_brick/admin inode=7301352 dev=fd:02 mode=dir,755
> ouid=root ogid=root rdev=00:00 objtype=NORMAL
> type=CWD msg=audit(08/03/2016 00:08:02.401:93734) : cwd=/
> type=SYSCALL msg=audit(08/03/2016 00:08:02.401:93734) : arch=x86_64
> syscall=lchown success=yes exit=0 a0=0x7fd608314730 a1=0x a2=0x30
> a3=0x0 items=1 ppid=1 pid=8774 auid=unset uid=root gid=root euid=root
> suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset
> comm=glusterfsd exe=/usr/sbin/glusterfsd key=monitor-brick
> 
> Is this a known issue? Can I do something about it?
> 
> Thanks,
> Sergei
> 
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] gluster reverting directory owndership?

2016-08-03 Thread Sergei Gerasenko
Hi,

It seems that glusterfsd reverts ownership on directories on the brick. I would 
set a directory to be owned by root:root and within a half hour they are back 
to the previous value. Audit logs show that glusterfsd performed the change, 
thought it’s not clear if something “asked” glusterfsd to do it:

type=PATH msg=audit(08/03/2016 00:08:02.401:93734) : item=0 
name=/data/ftp_gluster_brick/admin inode=7301352 dev=fd:02 mode=dir,755 
ouid=root ogid=root rdev=00:00 objtype=NORMAL
type=CWD msg=audit(08/03/2016 00:08:02.401:93734) :  cwd=/
type=SYSCALL msg=audit(08/03/2016 00:08:02.401:93734) : arch=x86_64 
syscall=lchown success=yes exit=0 a0=0x7fd608314730 a1=0x a2=0x30 
a3=0x0 items=1 ppid=1 pid=8774 auid=unset uid=root gid=root euid=root suid=root 
fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=glusterfsd 
exe=/usr/sbin/glusterfsd key=monitor-brick

Is this a known issue? Can I do something about it?

Thanks,
   Sergei___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users