Yeah, when I was lying in bed last night it occurred to me that the
indeterminacy of the run location might be the problem. When I tried it
this morning it worked.
Thanks!
-Jim Moore
----- Original Message -----
From: "Lauri Kotilainen" <postmaster@true-evil.net>
To: "Jim Moore" <tigris.org@mooresoft.net>
Cc: <users@subversion.tigris.org>
Sent: Tuesday, March 09, 2004 1:05 AM
Subject: Re: post-commit isn't being executed
>
> Try changing to a directory where apache has write permissions before
> the touch.
>
> -Lauri-
>
> Jim Moore wrote:
>
> >Here's what I have
> >
> >[root@hroastsrc01 hooks]# ls -ld post-commit .
> >drwxr-sr-x 2 apache apache 4096 Mar 8 19:02 .
> >-rwxr-xr-x 1 apache apache 25 Mar 8 19:02 post-commit
> >[root@hroastsrc01 hooks]# cat post-commit
> >#!/bin/sh
> >/bin/touch ran
> >[root@hroastsrc01 hooks]#
> >
> >Unfortunately, when I commit something, nothing happens (ie, "ran" isn't
> >created). (Of course, when I do "sudo -u apache ./post-commit" then the
> >file is created. Just not from mod_dav_svn.) I've stripped it down as
much
> >as I can, and searched the lists and Google, but can't figure out what's
> >wrong. Nothing's written to the log file except the normal DAV stuff.
> >
> >Any ideas?
> >
> >-Jim Moore
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 12 02:25:46 2004