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

Re: Permission denied error with mod_dav_svn

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

Justin:

Initially I didn't compile either one; they were just what I got from the
Fedora install and later updated by yum. Last night I did compile and
install Subversion, but "make install" didn't appear to provide new copies
of mod_dav_svn.so anywhere. In any case, the behavior was the same before
and after.

Tim

On 7/27/06, Edelson, Justin <Justin.Edelson@mtvn.com> wrote:
>
> Did you compile Apache and/or Subversion yourself?
>
> ------------------------------
> *From:* Tim Berglund [mailto:tlberglund@gmail.com]
> *Sent:* Thursday, July 27, 2006 10:10 AM
> *To:* users@subversion.tigris.org
> *Subject:* Permission denied error with mod_dav_svn
>
> 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
> </Location>
>
> The relevant part of Apache's error log:
> [Thu Jul 27 07:22:03 2006] [error] [client 64.81.101.167] (20014)Internal
> error: Can't open file '/var/svn/web/format': Permission denied
> [Thu Jul 27 07:22:03 2006] [error] [client 64.81.101.167] Could not fetch
> resource information. [500, #0]
> [Thu Jul 27 07:22:03 2006] [error] [client 64.81.101.167] Could not open
> the requested SVN filesystem [500, #13]
> [Thu Jul 27 07:22:03 2006] [error] [client 64.81.101.167] Could not open
> the requested SVN filesystem [500, #13]
>
> What I see in the browser window when I hit http://server/svn/web:
> <D:error>
> <C:error/>
> <m:human-readable errcode="13">Could not open the requested SVN
> filesystem</m:human-readable>
> </D:error>
>
> 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.
>
> Warmly,
> Tim Berglund
>
Received on Thu Jul 27 16:31:29 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.