Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have setup Subversion 1.6.5 on Ubuntu 9.10 using apt-get and have successfully created a repository with a project simply named 'data' and have added files using svn import. I have added the following to /etc/subversion/config:

anon-access = none
auth-access = write
password-db = passwd
realm = data

and have created a file /etc/subversion/passwd which contains:

tim = foo

Running sudo svnserve -d --foreground -r /drobo/repos on the server, from a client I can checkout the project using svn checkout svn://tsunami/data. This all seems to work fine. However when I try to make a commit, I get:

svn commit
svn: Commit failed (details follow):
svn: Authorization failed
svn: Your commit message was left in a temporary file:
svn:    '/Users/tim/data/svn-commit.2.tmp'

I've tried explicitly using the svn --username and --password options but same problem. Is there anything else I'm missing that would cause the authentication to fail?

share|improve this question

It turns out that the conf file in the repository directory should be edited e.g. if you had a repository named /svn/repos then you would edit /svn/repos/conf/svnserve.conf - rather than /etc/subversion/config...

share|improve this answer
I think you should say 'repository directory', not 'repository' as the file is not part of the repository itself. – Bert Huijben Dec 4 '09 at 10:47
Edited to clarify exactly what file should be edited :-) – timbo Dec 7 '09 at 3:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.