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

Re: post-commit isn't being executed

From: Lauri Kotilainen <postmaster_at_true-evil.net>
Date: 2004-03-09 07:05:09 CET

 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
>
>
>
>
>

---------------------------------------------------------------------
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:40 2004

This is an archived mail posted to the Subversion Users mailing list.