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

empty pre-commit hook fails with svn+ssh with some accounts

From: Daniel Neuberger <daniel.neuberger_at_gmail.com>
Date: Thu, 21 Jul 2011 09:36:22 -0400

We have a rather unique setup to meet certain requirements and as a
result I can't get any hooks to work (even empty ones or ones that
just exit with a zero return code).

In short, we have a repository owned by one user that is accessed by
tunneling over ssh to other user accounts. To get around the
permission issues, the setuid bit is set on /usr/bin/svnserve for the
user that owns the repository. Everything works fine except hooks
regardless of what permissions I give them or what the script does.
The hooks work fine though if I ssh to the user account that owns the
repository rather than another user account (we can't operate that way
though).

Everything else from the other user accounts works fine. Also,
running the pre-commit hook from the other user accounts using an
empty environment works fine too.

All the scripts are bash scripts. All systems are RHEL 5.5 using svn 1.4.

Any ideas? Thanks.

- Daniel
Received on 2011-07-21 16:43:30 CEST

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