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

Permission denied error with mod_dav_svn

From: Tim Berglund <tlberglund_at_gmail.com>
Date: 2006-07-27 16:10:14 CEST

I'm running Apache 2.2.2 and Subversion 1.3.2 on Fedora Core 5. I am
attempting to use mod_dav_svn to access a Subversion repository, but I'm
getting permission deined errors that don't seem to make sense.

The relevant part of httpd.conf:
<Location /svn/web>
   DAV svn
   SVNPath /var/svn/web

The relevant part of Apache's error log:
[Thu Jul 27 07:22:03 2006] [error] [client] (20014)Internal
error: Can't open file '/var/svn/web/format': Permission denied
[Thu Jul 27 07:22:03 2006] [error] [client] Could not fetch
resource information. [500, #0]
[Thu Jul 27 07:22:03 2006] [error] [client] Could not open the
requested SVN filesystem [500, #13]
[Thu Jul 27 07:22:03 2006] [error] [client] Could not open the
requested SVN filesystem [500, #13]

What I see in the browser window when I hit http://server/svn/web:
   <m:human-readable errcode="13">Could not open the requested SVN

All of the SVN repository files are owned by apache:apache, which is
consistent with the values of the User and Group directives in
httpd.conf(Apache is running as the user "apache"). Just to take the
really big hammer
to the problem, I made gave /var/svn/web/format permissions of 666, and gave
/var, /var/svn/ and /var/svn/web permissions of 777. No dice. I'm thinking
the problem isn't really a matter of permissions.

I saw a similar error reported at
http://svn.haxx.se/users/archive-2004-12/0345.shtml, but there didn't seem
to be a solution posted there.
Any ideas? I know I've got a lot of details posted here; sorry for the big
dump. I'm most grateful for any suggestions you can provide.

Tim Berglund
Received on Thu Jul 27 16:11:46 2006

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.