Re: [FYI]AFR's selfheal maybe failed due to permission problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Li,

Earlier versions of fuse used to do lookup() with root permissions
hence it was not a problem, now it does it as process's uip/gid because of
which you are facing this problem, I will fix it so that self-heal of afr
is done as root.

Thanks
Krishna

On Dec 17, 2007 1:18 PM, LI Daobing <lidaobing@xxxxxxxxx> wrote:
> Hello,
>
> AFR's selfheal maybe failed due to permission problem
>
> for example, a file on two node's permission is different, and need
> sync. a `lookup' will trigger this.
>
> But if the file's owner is root and you run `ls' with a  normal user.
> Then the selfheal will be triggered but posix_chmod will fail because
> of the low permission.
>
> so `$ find /mnt/glusterfs -type f -exec head -c 1 {} \; >/dev/null' is
> not enough to sync the system, you need to run it as root. :)
>
> If any mistake, please point out, thanks.
>
>
> Best Regards,
>  LI Daobing
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@xxxxxxxxxx
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux