Ubuntu – SVN authorization failed

svnsvnserveUbuntu

I cannot checkout from my SVN repo with the following configuration on Ubuntu:

svnserve.conf:

[general]
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
[sasl]

authz content:

[aliases]

[groups]

[/procode]
kompi = rw
tlevi = rw

[/procode/code]
david = rw
test = rw

passwd content:

[users]
david = aaa
adam = aaa
levi = aaa
test = aaa

my repo is located in /home/kompi/business

I start svnserver with:
svnserve -d -r /home/kompi/business –log-file /home/kompi/svnservelog.txt

version is: svnserve, version 1.6.12 (r955767)

and contains a procode subdirectory. I try to checkout with tortoiseSVN, with every user, but I always get an Authorization failed error.

Best Answer

  1. I think, you can (have?) to define some rules for / path in authz file: $authenticated = r isn't too wide
  2. If /home/kompi/business is repo, you started svnserve wrongly: -r option defines root of repository collection and must be parent folder for all and any repository

PS: It's better to troubleshoot svn-related problems in CLI: svn ls /URL/OF/REPO give you more detailed information