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

Re: please help me with path-based access control setup

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 10 Sep 2014 23:48:25 +0200

On 10 Sep 2014 20:06, "James" <oldyoungguy88_at_yahoo.com> wrote:
>
> My svnserve is running on Fedora and I can access (checkout, update, ..)
with svn://repository/.. without any issue from local machine and another
machine.
>
> I also setup user/password access control. It works great. Now I am
trying to add path-based access control on top of it.
>
> I enabled the "authz-db = authz" on the svnserve.conf file.
> I tested with following settings on the authz file:
>
> #=================
> #[/home/svn/Playground/proj1]
> #[/home/svn/Playground]
> #[/home/svn/Playground/]
> #[repository:/Playground]
> #[repository:/proj1]
> [repository:/*]
> testuser = rw
> $authenticated = rw
> * = rw
>
> but none worked. I always get this error:
> svn: E170001: Authorization failed.

The the bit before the rule path in the authz file is the repository name,
not its local path and not the server name. The rules also cannot contain
wildcards.

Try:

[Playground:/]
* = rw

-- Brane
Received on 2014-09-10 23:48:56 CEST

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.