I found out that csync persists ownership of the files; the problem the UUID on the 2 servers is not the same.<br>I can get around that.<br><br>Thanks<br><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 8:50 AM, Claudio Contin <span dir="ltr"><<a href="mailto:claudio.contin@sharesight.co.nz" target="_blank">claudio.contin@sharesight.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>I'm new with csync2.<br><br>I'm setting up for a small cluster (at the moment only 2 nodes).<br><br>My configuration on both nodes is the following:<br>
<br><pre>group cluster
{
host server1;
host server2;
key /etc/csync2.key;
include /var/apps/sync;
}
nossl * *;</pre><br>When I run csync2 -x everything works fine, but the ownership of the files is not root on the other node.<br>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.<br>
<br>How do I specify file permission for csync2? I can't find any configuration option about.<br><br><br>Thank<br>
</blockquote></div><br><br clear="all"><br>-- <br><b>Claudio Contin</b><br><i>Senior Software Developer</i><br>Sharesight Limited<br><br>