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

RE: problems with apache and svn

From: Brock Denson <Brock.Denson_at_csr.com>
Date: Wed, 2 Jul 2008 17:02:47 -0500

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2008c_at_ryandesign.com]
Sent: Wednesday, July 02, 2008 3:54 PM
To: Brock Denson
Cc: users_at_subversion.tigris.org
Subject: Re: problems with apache and svn

On Jul 1, 2008, at 12:29, Brock Denson wrote:

> Setup:
> FC8
> Apache 2.2.8 (Unix) DAV/2 SVN/1.4.4 ... (from
/etc/httpd/log/error_log)
> SVN 1.4.4 (r25188)
>
> I set up the repository as follows:
>
> Mkdir /home/me/svn
> Chown svn:svn /home/me/svn
> Chmod g+s /home/me/svn
> Svnadmin create /home/me/svn/repo
>
> I added the following lines to httpd.conf
>
> LoadModule dav_module modules/mod_dav.so (this was already there)
> LoadModule dav_svn_module modules/mod_dav_svn.so (oddly, this is
> not there, but when added it complains that it is already loaded)
>
> <Location /svn>
> DAV svn
> SVNPATH /home/me/svn/repo
> </Location>
>
> I can access the repo with:
> Svn list file:///home/me/svn/repo
>
> And even from a remote machine with:
> Svn list svn+ssh://192.168.1.2/home/me/svn/repo
>
> But when I try with a browser to http://localhost/svn I get the
> following error:
> "Could not open requested SVN filesystem"
>
> And the error_log reads:
> [error] [client 127.0.0.1] (20014) Internal error: Can't open file /
> home/me/svn/repo/format : Permission denied
>
> Apache is running as user apache which is a member of group svn.
> Permissions on /home/me/svn/repo/format are 444 root svn which
> should allow reads by anyone. If I change the permissions to 777
> and/or the owner to apache I have the same problem.
>
> I am a bit baffled here and welcome any ideas. I have looked
> around on google, but all of the issues I have seen about this are
> when the repo is not where it should be.

Sounds like permission problems. Since your normal permissions seem
to be in order, what about SELinux permissions? Are you using
SELinux? See the FAQ entry on setting up permissions:

http://subversion.tigris.org/faq.html#reposperms

I am not using SELinux, and a bit at a loss as to what to try next. I
am no Linux expert, but I have to be overlooking something simple right?
Any ideas on what to check next?

 To report this email as spam click
https://www.mailcontrol.com/sr/M8XPjvD3fafTndxI!oX7Uo6Jo2jyFjEGrjAdi9K5E
FFCM6wyT76MzdxBTxvs8OPTRez0xCWp!c6gvJyt6ermNw== .

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-03 00:08:39 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.