Ubuntu + SVN: Could not open the requested SVN filesystem

后端 未结 2 2253
不思量自难忘°
不思量自难忘° 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: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).

提交回复
热议问题