[Csync2] owner of files when sync on nodes

Claudio Contin claudio.contin at sharesight.co.nz
Mon Sep 24 23:00:13 CEST 2012


I found out that csync persists ownership of the files; the problem the
UUID on the 2 servers is not the same.
I can get around that.

Thanks

On Tue, Sep 25, 2012 at 8:50 AM, Claudio Contin <
claudio.contin at sharesight.co.nz> wrote:

> Hi,
> I'm new with csync2.
>
> I'm setting up for a small cluster (at the moment only 2 nodes).
>
> My configuration on both nodes is the following:
>
> group cluster
> {
>          host server1;
>          host server2;
>          key /etc/csync2.key;
>          include /var/apps/sync;
> }
> nossl * *;
>
>
> When I run csync2 -x everything works fine, but the ownership of the files
> is not root on the other node.
> I was thinking to change the ownership after each csync2, but the
> ownership change triggers the file as modified, and this ends up in a loop.
>
> How do I specify file permission for csync2? I can't find any
> configuration option about.
>
>
> Thank
>



-- 
*Claudio Contin*
*Senior Software Developer*
Sharesight Limited
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20120925/730d6daa/attachment.htm>


More information about the Csync2 mailing list