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

Restricting access

From: Adrian Marsh <Adrian.Marsh_at_ubiquisys.com>
Date: 2007-03-07 15:54:54 CET


I've an SVN server, accessed by svn+ssh, with 2 repositories. I'd like
to control access to the repositories.

The SSH config includes the setup to specify the tunnel user, eg:

command="/usr/local/bin/svnserve -t

My svnserve.conf file has:

anon-access = none
auth-access = write
authz-db = authz
realm = test_r

My authz file has:

test_group = marsh

@test_group = r

This config works ok, and user "marsh" has r/o access to the repository.
However I want to use the same authz file for 2 repositories
(changing "authz-db = authz" to "authz-db = /somedir/authz")

So I thought that I'd need to specify the realm in the authz file, and
then later on add a second realm config:

test_group = marsh

@test_group = r

But instead I get an authorisation failure.

NB: At this point, both authz and svnserv.conf are in the same conf/
directory under one repository.

The full unix path to the repo is /svn/test_abc, so does the [test_r:/]
refer to the root of the repository - OR - the unix filepath ?

What did I miss??


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 7 15:55:27 2007

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.