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

Re: Non-working authz configuration?

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-06-01 00:57:43 CEST

On Monday 31 May 2004 18:16, Jeroen Coumans wrote:
> Hi,
>
> I have this in /etc/apache2/httpd.conf:
>
> <Location /subversion>
> DAV svn
> SVNParentPath /subversion
> AuthzSVNAccessFile /etc/apache2/dav_svn.authz
> Require valid-user
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /etc/apache2/dav_svn.passwd
> </Location>
>
> And in /etc/apache2/dav_svn.authz:
> [/]
> * =
> @admin = rw
> @programmers = r
>
> [foo:/bar/branches/]
> @programmers = rw
>
> [bar:/foo/branches/]
> @programmers = rw
>
> The point is to use rw for admin, r for programmers except for the
> branches where they are allowed to write. Except that it doesn't seem to
> work; the programmers group can't write to the repository's branches.
> What did I do wrong?

Looks like you need to define the groups. i.e.:

[groups]
admin=user1,user2
programmers=user3,user4,user5

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 1 00:58:49 2004

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.