Ubuntu + SVN: Could not open the requested SVN filesystem

若如初见. 提交于 2019-12-05 01:28:17
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).

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!