You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Peter <ph...@ointment.org> on 2004/07/06 02:09:43 UTC
basic permissions question?
I've built a Subversion 1.06 server on Linux. I created a new user and
group, 'svn', and set Apache 2.0.50 to run with that identity on port
8080. I am confused about the permissions that need (or should) be set
for the directory structure under which I will be storing my repository.
I tried /usr/svn/repos for starters. Currently /usr/svn and the
directories underneath have owner svn.svn and 0755 permissions, e.g.:
drwxr-xr-x 7 svn svn 4096 2004-07-05 19:15 repos
I am trying to access http://www.ointment.org:8080/svn and am getting
403'd. Here are some lines from httpd.conf that I hope can shed light on
my confusion:
ServerRoot "/usr/local/apache2"
Listen 8080
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
User svn
Group svn
ServerName www.ointment.org:8080
DocumentRoot "/usr/local/apache2/htdocs"
<Location /svn>
DAV svn
SVNParentPath /usr/svn/repos
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/svn-auth-file
Require valid-user
</Location>
Can someone offer direction, please?
Thanks much.
Peter
--
A knock at my office door! That means someone is going to talk my ear off
about crappy bullshit I don't understand!
-- mnftiu.cc
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: basic permissions question?
Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2004-07-05 at 21:09, Peter wrote:
> I've built a Subversion 1.06
Uh, there's no such thing as 1.0.6. The latest release is 1.0.5.
Perhaps you checked out the HEAD revision of the 1.0.x branch?
> I am trying to access http://www.ointment.org:8080/svn and am getting
> 403'd.
That's because you're using SVNParentPath, rather than SVNPath. "/svn"
is currently expected to be the *parent* of N repositories, not a
repository itself. Decide what you want, and fix accordingly. :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org