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

AW: commit with exit code 255

From: Chris Stäbler <chresse1605_at_googlemail.com>
Date: Mon, 18 Jun 2012 19:44:07 +0200

Hey

I tried it and it solved it in the first moment. But now I get the following
message when I try to commit:

svn: E204900: Commit failed (details follow):
svn: E204900: Can't open file '/var/www/svn/firstrepo/db/txn-current-lock':
Permission denied
svn: E175002: MKACTIVITY of
'/svn/firstrepo/!svn/act/889ead00-3801-0010-a8fd-51f4a60835a4': 500 Internal
Server Error (http://... )

Even when I give every user read, write and execute rights (what's actually
pretty stupid) I can't commit?

Any ideas?
Thanks for help so far.

2012/6/17 Nico Kadel-Garcia <nkadel_at_gmail.com>
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.
 

my repository is set up at /var/www/svn (traditional place) 
But SELinux might be the problem (I am using fedora). I will try it when I
am back at home and report you my results :)
Received on 2012-06-18 19:44:42 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.