[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnsync issue when running as apache

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: Fri, 13 Jun 2008 21:16:17 +0200

Cotton wrote:
> Hi all,
> I'm trying to work out this svnsync problem to sync w/ a mirror repo
> that trac is running on... everything is working fine when I run
> "svnsync sync svn://mirror/repo" from the command line, but the
> post-commit hook isn't authenticating to my source repo. SVN is
> running as the apache user, and I don't know how to cache the auth
> information like it is cached when running on the console. The output
> of the command in post-commit is http://dpaste.com/55009/ . Anyone
> had any experience with this??
> My post-commit file is simply: svnsync sync svn://mirror/repo & (with
> the shabang of course)
> TIA,
> Cotton
The hook scripts run in an empty environment, so they have no access to
the authn cache or your configuration files.

You can use the --sync-username and --sync-password options to 'svnsync
sync' to make it use other credentials.
For the missing CA certificate, use the option '--config-dir' to point
the directory containing your 'servers' file (as in
.subversion/servers). In the servers file, set ssl-authority-files to
point to your CACert authority key. This I've never tried, but it should



To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-13 21:16:50 CEST

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.