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

Error with AuthzSVNAccessFile parsing in mod_dav_svn

From: Samuel Moffatt <sam.moffatt_at_joomla.org>
Date: Sun, 15 Nov 2009 16:19:11 +1000

Hi all,

I think I've found a bug in the way that AuthzSVNAccessFile is parsed.
I recently upgraded an old Subversion 1.2.1 site with some projects to
first 1.4.2 and then 1.6.6 and discovered that the file balked at
loading and spat out the following error:
Failed to load the AuthzSVNAccessFile: An authz rule refers to group
'@groups-committers', which is undefined

I went hunting figuring a script somewhere had died but couldn't work
out what was going wrong because as far as I could see the group did
exist. I then looked to the section that was causing the issue:
[groups:/]
@groups-committers = rw
@groups-readers = r
* = r

I removed the committers line and tested again, it then complained
about groups-readers, so I removed that line. That then yielded an
even strange error message:
Failed to load the AuthzSVNAccessFile: An authz rule refers to group
'*', which is undefined

At this point I deleted the last two lines of the section and
everything came good. Then I put the section back and it broke it. I
renamed it from 'groups' to 'tgroups' and it started working again. I
then changed it to 'groupstest' and it still triggered an error.

Subversion 1.2 (CentOS 4) was working happily with this, both 1.4.2
(CentOS 4 packages) and 1.6.6 (RPMForge) exhibited the incorrect
behaviour.

Cheers,

Sam

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418072

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-15 08:09:24 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.