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

Re: SVN over Apache WebDAV hook script problem - possibly related to file permissions

From: Daniel Harrison <dgharrison_at_gmail.com>
Date: 2004-10-04 05:11:49 CEST

Tried that, no difference.

The script works just fine when i execute it, problem occurs when
apache (i presume it's apache) executes the script...

Daniel

On Sun, 3 Oct 2004 22:04:39 -0400 (EDT), Aaron Mulder
<ammulder@alumni.princeton.edu> wrote:
> Are you sure "svn" is on the path in the environment that the
> script executes in? Does giving it an absolute path
> ("/usr/bin/svn update /svn-working" or whatever) fix the problem?
>
> Aaron
>
>
>
> On Mon, 4 Oct 2004, Daniel Harrison wrote:
> > Hi,
> >
> > I have an svn repository (/svn-repository) on my fedora box, the
> > repository has a post-commit hook script that includes the line:
> >
> > svn update /svn-working
> >
> > where /svn-working is a directory on the server used to keep the
> > working copy for use with a web server among other things.
> >
> > When i execute the script (./post-commit) it the update works a treat.
> > However when i do a commit the update dosn't occur. I know the script
> > is executed correctly as the standard email notification perl script
> > works fine, i get an email instantly.
> >
> > I've chmod'd the /svn-working folder to 777 which didn't make any difference.
> >
> > Does anyone know why the update line in the scipt dosn't work when an
> > update is done on the server?
> >
> > Thanks
> >
> > --
> > Daniel Harrison
> > Hobart, Australia
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
Daniel Harrison
Hobart, Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 4 05:12:22 2004

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.