Re: Error | svnauthz: E220003: Section appears more than once in the authz file: [groups]

"Pavel Lyalyakin via users" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.user
Message-ID <CAEyhmwZ+zdrEiRg+M=5CEtqr9+mE9H8FwYmgyfJwGROCZYFk0w@mail.gmail.com>
On Wed, 17 Apr 2024 at 15:08, BK <[email protected]> wrote:
>
> Hello,
>
> After the change from Subversion 1.8 to 1.14 on my server
> the access rights definitions in the svn_access_file
> no longer work.
> The following error message appears:
> [authz_svn:error] Failed to load the mod_authz_svn config: Error while parsing config file: '/opt/csvn/release/data/conf/svn_access_file': svnauthz: E220003: Section appears more than once in the authz file: [groups]
>
> Is it no longer possible to define groups more than once
> per repository in the acccess file? I find this style
> more clearly organised, than to separate all groups
> of the repos and the corresponding access rights
> separate.
>
> Is there a possibility to stay in the old format (Subvesion 1.8)?
>
> Here is an extract from the svn_access_file file.
>
> ######################################################################
> # server administrators
> ######################################################################
> [groups]
> ApplicationServerAdmins = svnadm, admim1
>
> # ---------------------------------------------------
> # access rules for entire server content
> # ---------------------------------------------------
> [/]
> @ApplicationServerAdmins = rw
>
>
> ######################################################################
> # test1
> ######################################################################
> [groups]
> test1_Administration = @ApplicationServerAdmins, user1
> test1_Users = user1
>
> # ---------------------------------------------------
> # access rules
> # ---------------------------------------------------
> [test1:/]
> @test1_Administration = rw
> [test1:/tags/to1/t1]
> @test1_Users = rw
>
>
> ######################################################################
> # jira_test
> ######################################################################
> [groups]
> jira_test_Administration = @ApplicationServerAdmins, admin2
> jira_test_Developer = user2
>
> # ---------------------------------------------------
> # access rules
> # ---------------------------------------------------
> [jira_test:/]
> @jira_test_Administration = rw
> @jira_test_Developer = rw
>
>
> Thanks for your help,
> Bernard

I'm not familiar with this particular issue and the error message. But
why does your authz file have multiple [groups] sections? I think that
you should clean up the file and 1) Remove unnecessary entries. 2)
Group all group definitions in a single [groups] section.

-- 
With best regards,
Pavel Lyalyakin
VisualSVN Team
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.