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've been following this guide on how to setup svn and trac.

Svn was already running, and is functioning as expected, but trac is not.

When I go to the trac page it says:

Warning:  Can't synchronize with the repository
(Couldn't open Subversion repository /home/svn/repos: SubversionException:
("Can't open file '/home/svn/repos/format': Permission denied", 13)).
Look in the Trac log for more information. 

I've added www-data to the svn group, but that did not work. I even chowned the svn repository to www-data:www-data, still nothing. As a last resort I chmodded 777 the entire repository, but that still did not work.

So something else must be causing this, right?

This is my /etc/apache2/sites-enabled/000-default file, just in case:

<Location /trac/[[:alnum]]+/login">
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/subversion/passwd
  Require valid-user

<Location /trac>
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /var/www/trac
  PythonOption TracUriRoot /trac

I also tried to add WebDAV access through apache, by adding this to the same file:

<Location /svn/repos>
    AuthType Basic
    AuthName "Subversion Repository"
    AuthUserFile /etc/subversion/passwd
    Require valid-user
    DAV svn
    SVNPath /home/svn/repos

But again I'm getting an error:

<m:human-readable errcode="13">
Could not open the requested SVN filesystem</m:human-readable>
share|improve this question
up vote 1 down vote accepted

Even though trac-admin project initenv command congratulated me and said it was successful, it didn't actually create anything. Running it again fixed it.

share|improve this answer

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.