[Gluster-devel] [FYI]AFR's selfheal maybe failed due to permission problem

Krishna Srinivas krishna at zresearch.com
Mon Dec 17 08:46:56 UTC 2007


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 at gmail.com> 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 at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>





More information about the Gluster-devel mailing list