Ubuntu + SVN: Could not open the requested SVN filesystem Ubuntu + SVN: Could not open the requested SVN filesystem apache apache

Ubuntu + SVN: Could not open the requested SVN filesystem


luso@bender:/media/ssd/svn$ ls -larttotal 16drwx------ 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).


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.