您的位置:首页 > 理论基础 > 计算机网络

SVN new repository unable to be accessed through httpd

2010-08-04 16:59 579 查看
A new Berkeley-db-based SVN repository was created by:

svnadmin create /var/svnroot/repo/common_lib

When trying to access it from http, a error was thrown complaining that the SVN file system can't be read.

Looking at the httpd log /var/log/httpd/error_log:

svn error: Internal error: Berkeley DB error for filesystem while opening environment

Actually this is caused by Linux FS privilidges. Run the following two commands:

find /var/lib/svn/repository -type f -exec chmod 660 {} \;
find /var/lib/svn/repository -type d -exec chmod 2770 {} \;


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: