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

Re: Error in authz file

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-11-17 00:52:20 CET

On Thu, 16 Nov 2006, Mats Fors wrote:

> Hi,
>
> Version 1.4.0 and 1.4.2 generates an error that previous versions of
> subversion doesn't (1.3, 1.3.1). Is this a bug or has there been some
> changes to the authz file syntax?

Earlier this year (r19471, 2006-04-28), code was added to
libsvn_repos/authz.c:authz_validate_rule() which checks that there are
no characters other than 'r' and 'w' and spaces in the authz file's
rule definition.

...
> [Tue Nov 14 14:28:33 2006] [error] [client 10.200.20.63] Failed to load the
> AuthzSVNAccessFile: The character 's' in rule '@Users' is not allowed in
> authz rules

Are you sure this is the authz file which is actually in use? Unless
those comments at the end of the line are a problem, I'd expect your
authz file to have a improperly defined rule like:

[/tags]
@Users = s

> Contents of AuthzSVNAccessFile
> ------------------------------
> Devg = ambjorn, anders, andersh, anderslu, apikas, bengtv, bertils, chris,
> dan, daniel, eric, eva, fredrikc, fredrikh, fredrik, grzm, hanswa, hakanto,
> jaan, jan, dalle, jesperes, johana, holmberg, johanru, johnny, jonasbl,
> love, lotta, matsp, micaelb, mikael, owi, heerdt, peter, petter, sture,
> sussi, richardc
>
> Users = daniel, grzm, dalle, johnny, peterny
> Managers = subber, mats, wacek, andersl
>
> [/]
> @Devg = r # Give Devg read rights in all repos
>
> [/]
> @Users = rw # Give Users rw rights everywhere,
>
> [/tags]
> @Users = r # except in tags directories
>
> [/]
> @Managers = rw # Give Managers rw rights everywhere

  • application/pgp-signature attachment: stored
Received on Fri Nov 17 00:53:51 2006

This is an archived mail posted to the Subversion Dev mailing list.