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

Re: Post Commit Hook Script !!

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Fri, 29 Jul 2011 20:35:44 -0500

On Jul 29, 2011, at 04:08, Himanshu Raina wrote:

> Okay what I meant by null keys was password less keys. Apache runs as svn user and the repository permissions are as follows
> drwxr-xr-x 7 svn apache 4096 Jul 27 12:14 Project/
> The hooks script also has 755 permission and ownership as mentioned above. The hook script when run from the svn server works absolutely fine.

As what user? As I've suggested a couple times now, I think the problem is that, when the hook script runs as the svn user, it doesn't have those ssh keys. For example if your svn user's home directory is /home/svn then you will need to have a directory /home/svn/.ssh/ that contains these passwordless keys you mentioned, and they and the directory must of course be readable by the svn user as well.
Received on 2011-07-30 03:36:51 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.