> Let's say that your repository is "/var/svn" (you've previously done
> "svnadmin create /var/svn") and your Apache server runs as the user
> "www" in the group "www". Then I think the best way to set it up is
> probably:
>
> chown -R www:www /var/svn
> chmod -R 700 /var/svn
> find /var/svn -type f -print0 | xargs -0 chmod 600
>
> Now everything is owned by the user under which Apache runs,
> directories have 700 (a.k.a. "rwx") permission, and files have 600
> (a.k.a. "rw-") permission. This ensures that the only way to access
> the repository is through Apache, so that you don't have to worry
> about anybody being able to get access to data in the repository by
> copying the revision files off the server directly.
I have repository under /home/sbmrepos/svn.
It is owned by sbmrepos.
In apache httpd.conf, I have made entry as
User sbmrepos
Group sbmrepos
<Location /svn>
DAV svn
SVNParentPath /home/sbmrepos/svn
</Location>
After this I restarted the httpd server and when I try to access server it
gives error:
<D:error>
<C:error/>
<m:human:readable errcode="13">Could not open the requested SVN
filesystem</m:human-readble>
</D:error>
Apache log is :
Thu May 24 21:31:36 2007] [error] [client 127.0.0.1] (20014)Internal error:
Can't open file '/home/sbmrepos/svn/sbmrepos/format': Permission denied
[Thu May 24 21:31:36 2007] [error] [client 127.0.0.1] Could not fetch
resource information. [500, #0]
[Thu May 24 21:31:36 2007] [error] [client 127.0.0.1] Could not open the
requested SVN filesystem [500, #13]
[Thu May 24 21:31:36 2007] [error] [client 127.0.0.1] Could not open the
requested SVN filesystem [500, #13]
From the forum mails, it is permissions issue, but can anybody please
elaborate on it.
Thanks,
Sonal.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 25 06:49:40 2007