Trac permission denied for SVN repo
- by plesatejvlk
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!