Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 202931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:20:00+00:00 2026-05-11T17:20:00+00:00

I have a SVNSERVE server set up to host multiple repositories. Short question here

  • 0

I have a SVNSERVE server set up to host multiple repositories.

Short question here

My question is really this: I have authz, passwd, and svnserve.conf in the main directory outside the repositories, and this seems to work, in the sense that changes here will give, or deny, access to the relevant repositories.

However, due to an error when using TeamCity, I’ve come to find that each repository also have their own sets of these files, but the contents there are almost completely empty. Do I need to replicate the relevant bits and pieces of the main configuration files down into each repository?


Tentative solution

Ok, it seems that the web-page I linked to below (this page) was correct after all. By editing the repository-local svnserve.conf file, and adding the single line:

anon-access=none

then it seems to work. Note that that’s all I did as well. The main, global, outside-of-repositories svnserve.conf file and associated files still seems to contain all the relevant information, as changes here still grant or deny users access to the repositories, but adding that line made TeamCity stop complaining.

Running control-tests right now after removing the line again, just to see if it still fails.


Long story here

The directory structure is like this:

E:
 +-- Repositories
     +-- LVK
     +-- PrivateProjects
     +-- ExternalProjects
     +-- XYZ
     +-- etc.

Now, I in the Repositories directory, I have the following files (file contents are below):

svnserve.conf
authz
passwd

svnserve.conf looks like this:

[general]
password-db=passwd
authz-db=authz
realm=VKarlsen Subversion Server
anon-access=read
auth-access=write

authz looks like this:

[/]
lassevk=rw
*=r

[LVK:/]
lassevk=rw
*=r

[PresentationMode:/]
lassevk=rw
*=

and some other repositories etc.

and passwd looks like this (obviously not the right password though):

[users]
lassevk=MYSECRETPASSWORD

Now, what I’m wondering about is that TeamCity is complaining with an error message that says: “Failed for the root ‘svn://localhost/PrivateProjects/VS.NET/LVK_ReleaseScript’ #2: svn: Not authorized to open root of edit operation”.

I found this page here, but it says to make sure you have the following in your svnserve.conf file:

anon-access=none

I do, however, have anon-access=read in the file, but my question is really this: Each repository also have a conf sub-directory with the exact same files as above, just not the same contents. In fact, apart from setting the Realm value to the same thing as my main svnserve.conf file, the files are completely empty.

Is this correct? Do I need to replicate the relevant bits and pieces from the main svnserve.conf file down into the configuration files for each repository?

For instance, here’s the contents of the three files under the LVK repository:

authz:

[groups]

[/]

passwd:

[users]

svnserve.conf:

[general]
realm = VKarlsen Subversion Server
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:20:01+00:00Added an answer on May 11, 2026 at 5:20 pm

    I always thought you’d need to have at least svnserve.conf inside the conf/ subdirectory of each repository (since SVN wouldn’t automatically know to look for it anywhere else). That’s the setup I use with my own repositories: each one has its own copy of svnserve.conf, but there’s only one global passwd and authz, to which all the svnserve.conf files refer by absolute path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.