Ubuntu + SVN: Could not open the requested SVN filesystem

后端 未结 2 2278
不思量自难忘°
不思量自难忘° 2021-02-20 11:07

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

相关标签:
2条回答
  • 2021-02-20 11:13

    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.

    0 讨论(0)
  • 2021-02-20 11:18
    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).

    0 讨论(0)
提交回复
热议问题