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

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

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Thu, 21 Jul 2011 19:16:29 +0400

2011/7/21 Daniel Neuberger <daniel.neuberger_at_gmail.com>:
> In short, we have a repository owned by one user that is accessed by
> tunneling over ssh to other user accounts.

Can't comment on this.

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

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

The scripts have execute permissions for those other users?

Maybe svn cannot find bash to execute those scripts? Consider what
happens when you run with empty PATH. One known example is the tasks
run by cron.

Have you looked into system-wide logs (for issues like SELinux warnings)?

Best regards,
Konstantin Kolinko
Received on 2011-07-21 17:17:04 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.