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

Re: Subversion setup

From: Prabhu Gnana Sundar <prabhugs_at_collab.net>
Date: Wed, 19 Jan 2011 13:06:14 +0530

Hi Dave,

On Tuesday 18 January 2011 07:13 PM, Dave Pawson wrote:
> I'm resurrecting a subversion setup.
> subversion 1.6.5 on apache 2.
>
> Apache setup
> <Location /repos>
> Dav svn
> SVNParentPath /srv
> Authtype Basic
> AuthName "..."
> AuthuserFile /etc/svnauthfile
> Require valid-user
> </Location>
>

Clearly, you are using Authz. But you have *missed* out the
"AuthzSVNAccessFile" in your config file, which could be something like,

AuthzSVNAccessFile /path/to/path-authz-file

Hence your config file must look like:

<Location /repos>
Dav svn
SVNParentPath /srv
Authtype Basic
AuthName "..."
AuthuserFile /etc/svnauthfile
AuthzSVNAccessFile path/to/path-authz-file
Require valid-user
</Location>

path-authz-file is the file where you specify the path-based permissions
to the users.
Here is a sample:

[pac:/]
dpawson = rw
sue = r

> user apache is set as owner of /srv and all subdirectories
> I used, as root,
> svnadmin create /srv/files
> svnadmin create /srv/pac

Hope this helps you :)

Thanks and regards
Prabhu
Received on 2011-01-19 08:36:56 CET

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.