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

svn: Can't open file '/home/www/socalgraph-dev/.svn/lock': Permission denied

From: Graham Anderson <grahama_at_siren.cc>
Date: 2006-07-27 07:43:38 CEST

I can run my post-commit script successfully as root...but not as
user svn

The post-commit script executes an 'svn update' on a website on the
As I am running subversion as user, 'svn' , how do I grant 'svn'
privileges to run the script ?

This is the script:

This is the compiled 'c' script:
#include <stdlib.h>
           int main(int argc, const char *argv[])
             system("/usr/local/bin/svn update /home/mysite-dev/www");

The 'post-commit' script and update-dev are owned by user , 'svn'
-rwsr-sr-x 1 svn svn 50 Jul 25 20:06 post-commit
-rwsr-sr-x 1 svn svn 13789 Jul 27 00:22 update-dev

'svn' is a member of the correct group, mysite-devgrp

$ pico /etc/group
$ pwd
$ groups
users mysite-devgrp

any help is appreciated as I am new to unix

many thanks

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 27 07:44:43 2006

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.