gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] [FYI]AFR's selfheal maybe failed due to permission p


From: Krishna Srinivas
Subject: Re: [Gluster-devel] [FYI]AFR's selfheal maybe failed due to permission problem
Date: Mon, 17 Dec 2007 14:16:56 +0530

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 <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]