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

RE: Error with AuthzSVNAccessFile parsing in mod_dav_svn

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Mon, 16 Nov 2009 11:13:49 +0100

> Van: Samuel Moffatt [mailto:sam.moffatt_at_joomla.org]
>
> 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.

I don't have a lot of experience with groups in the authz file, but just a thought: maybe there are some problems with line-endings in your authz file? Inconsistent line termination, or maybe sometimes you save it in unix format, sometimes in dos/windows format, depending on which editor you use to edit it?

Johan

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

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