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