[Csync2] owner of files when sync on nodes

Claudio Contin claudio.contin at sharesight.co.nz
Mon Sep 24 22:50:59 CEST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20120925/738643ee/attachment.htm>


More information about the Csync2 mailing list