I\'m aware this question has been asked a lot of times. I believe I understand the answers, but I still had no luck.
I tried both one repo
and multipl
In case anyone gets here with similar issue, here is my resolution:
I had file "/var/svn/format" owned by root, and despite all permissions set (777), apache did not want to read file owned by root.
Just a simple chown
command fixed the issue.
luso@bender:/media/ssd/svn$ ls -lart
total 16
drwx------ 7 luso luso 4096 2012-09-15 16:20 ..
This is probably your problem - while the repository directories are accessible to the www-data user, their parent directory /media/ssd
isn't. It and all its parent directories up the tree need at least world-execute permission (rwx--x--x
or 711). The www-data user doesn't need to be allowed to read these directories but it does need to be able to descend into them (which is what the execute bit means for a directory).