Running svnsync from post-commit hook
From: Marc Girod <mgirod_at_iona.com>
Date: 2007-08-27 12:41:33 CEST
Hello,
I searched the mail archive but couldn't find a suitable thread...
http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.replication
In particular, I try to invoke 'svnsync synchronize' in the
- the hooks are run under the account of the committer: good for
$ svnsync synchronize svn+ssh://stengers/x1/svnroot/foo --username vobadm
Note however that this works:
$ sudo -u vobadm svnsync synchronize svn+ssh://stengers/x1/svnroot/foo
I have tried to 'chown vobadm' and to 'chmod u+s' the svnsync binary,
Can somebody point me to what I am doing wrong?
----------------------------
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.