Trac permission denied for SVN repo

Posted by plesatejvlk on Server Fault See other posts from Server Fault or by plesatejvlk
Published on 2012-03-24T16:44:44Z Indexed on 2012/03/24 17:31 UTC
Read the original article Hit count: 191

Filed under:

I'm running Apache2,SVN & Trac on OpenSUSE. SVN works like a charm. I've initialized trac environment for one of my SVN repositories for trac to show source code in it's repo browser and I set the repository up in the Trac web admin. I also ran the trac-admin resync for that repo without problems.

Trouble is when I open the Trac repo browser I get:

"can't open file: /srv/svn/repos/myrepo/format, access denied)"

error. I checked the permissions and:

  • apache runs as wwwrun
  • tracd runs as wwwrun
  • the whole subtree /srv/svn/... belongs to svn group and the group has rw perms all the way down to the "format" file
  • wwwrun is in the svn group

I also did the perms check:

$ sudo -u wwwrun cat /srv/svn/repos/myrepo/format

and got it printed out without trouble.

So in my opinion there shoud not be any permission conflict. Any idea what else to check?

Thanks in advance!

© Server Fault or respective owner

Related posts about permissions