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

Re: commit with exit code 255

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Sun, 17 Jun 2012 16:33:44 -0400

On Sun, Jun 17, 2012 at 4:18 PM, Ryan Schmidt <
subversion-2012a_at_ryandesign.com> wrote:

>
> On Jun 17, 2012, at 15:11, Ryan Schmidt wrote:
>
> > Chris, I get the same result as you, if I forget to mark the pre-commit
> hook script as executable. So try "chmod 755
> /path/to/repo/hooks/pre-commit", then try again.
>
> Oops, I trimmed the part of your message where you said you already tried
> that:
>
> >> On Jun 17, 2012, at 08:41, Chris Stäbler wrote:
> >>
> >>> Every user has executerights for the hook.
>
> If your Subversion server happens to be running on an operating system
> with SELinux enabled, there are some additional issues you have to
> consider; see:
>
> http://subversion.apache.org/faq.html#reposperms
>

This is especially true if you've set up your repositories in a
conceptually reasonable but non-standard location. The RPM's for RHEL and
Fedora, for example, hint at putting repositories in /var/www/svn, which is
usually covered by the SELinux rules for /var/www and can help avoid the
problems.
Received on 2012-06-17 22:34:16 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.