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

RE: Hooks don't work via Http-Access

From: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: Fri, 12 Jun 2009 11:38:39 +1000

Hi Wiebesiek,

Who is the owner of the script ?

For purpose of ** debugging only ** could you please set the permission
to 777 and try.

Thanks
Lakshman
-----Original Message-----
From: Wiebesiek, Torsten [mailto:torsten.wiebesiek_at_grecon.de]
Sent: Thursday, 11 June 2009 9:05 PM
To: users_at_subversion.tigris.org
Subject: Hooks don't work via Http-Access

Hi,

I've just setup our subversion repositories on a Linux machine. For each
repsitory, there exists a post-commit hook. Accessing the repositories
from the Linux machine via
> svn co /srv/svn/repositories/Playground Playground svn commit
works perfectly well, including the hooks.

Unfortunately, it's not working from our developer's windows machines.
I've tried tortoise as well as the command line client. Check out,
update, commit all works perfectly, but the hooks are not carried out.

To access the repositories, I've setup a virtual host on the apache,
that also serves our internal wiki. I've removed all group
authentication mechanism and tries simplified hooks and a simplified
virtual host configration (see below). The server is running as
wwwrun:www and the hook as 755 permissions.

Has anyone an idea, what I am doing wrong?

Thanks, Torsten

Software versions:
Subversion on server and client 1.6.2
Tortoise on client 1.6.2
Apache on server 2.2.9

Here is my simple post-commit hook for testing purpose (permissions
755):

> #!/bin/sh
>
> REPOS="$1"
> REV="$2"
>
> echo `/bin/date +"%Y-%m-%d %k:%M:%S"` : repository=$REPOS
revision=$REV >> /tmp/svn.log

And here is my apache virtual host configuration:

> <VirtualHost *:80>
>
> ServerName svn.local
>
> <Location />
>
> Dav svn
>
> SVNParentPath /srv/svn/repositories
>
> AuthType Basic
> AuthUserFile /srv/svn/conf/passwd
>
> Order deny,allow
> Deny from all
> Allow from 172.16.0.0/16
> Satisfy all
>
> </Location>
>
> </VirtualHost>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
d=2361237

To unsubscribe from this discussion, e-mail:
[users-unsubscribe_at_subversion.tigris.org].

================================================================================================
EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to copyright.

If you are not an intended recipient of this email please immediately contact us by replying
to this email and then delete this email.

You must not read, use, copy, retain, forward or disclose this email or any attachment.

We do not accept any liability arising from or in connection with unauthorised use or disclosure
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not accept liability
for any liability, loss or damage caused by any computer virus contained in this email.
================================================================================================

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2361489

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-12 03:39:55 CEST

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.