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

Post-Commit Hook

From: King, Rogie <RoKing_at_carroll.edu>
Date: 2005-12-09 18:33:58 CET

I am creating a post-commit hook. The intent is to do an svn update in
the post-commit hook. I've got the post-commit working to do the email
in this line:

 

REPOS="$1"

REV="$2"

 

/usr/home/svn/commit-email.pl "$REPOS" "$REV" -r me@mydomain.com
me@mydomain.com

 

The above code is working lovely. As soon as I add this line, the
post-commit hook bombs:

 

/usr/local/bin/svn update
/usr/home/httpd/domains/www.carroll.edu/siteprod

 

If I "su svn" on the server and try to run that command in command line,
I get the following message:

 

 

svn: Can't open file
'/usr/home/httpd/domains/www.carroll.edu/siteprod/.svn/lock': Permission
denied

 

I also recursively chown'd my directory to change the ownership of the
repo files' owner to svn.

 

Still not working. Any help?
Received on Fri Dec 9 18:39:10 2005

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.