Sergei Gerasenko
2016-Aug-03 13:16 UTC
[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=73014444352 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=0xffffffff 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160803/72b4bfd2/attachment.html>
Susant Palai
2016-Aug-08 06:29 UTC
[Gluster-users] gluster reverting directory owndership?
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" <gerases at gmail.com> > To: gluster-users at 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=73014444352 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=0xffffffff 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 at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users