subversion配置问题---报错(权限) 急急急急~~~~~
1.http.conf的配置内容:A)UserapacheGroupapacheB)<Location/svn>DAVsvnSVNParentPath/svnAuthTy...
1. http.conf的配置内容:
A)
User apache
Group apache
B)
<Location /svn>
DAV svn
SVNParentPath /svn
AuthType Basic
AuthName "Subversionrepositories"
AuthUserFile /svnuser
AuthzSVNAccessFile /groups
Require valid_user
</Location>
2.查看权限:
A)
ls -ld /svn/test/
drwxr-xr-x 6 apache apache 4096 11-07 13:53 /svn/test/
B)
ls -ld /svn/test/format
-rwxr-xr-x 1 apache apache 2 11-07 13:53 /svn/test/format
3.错误描述:
A)页面显示:
<D:error><C:error/><m:human-readableerrcode="13">
Could notopen the requested SVN filesystem
</m:human-readable></D:error>
B)Apached的日志:
(20014)Internalerror: Can't open file '/svn/test/format': Permission denied
[error][client 192.168.0.101] Could not fetch resource information. [500, #0]
[error][client 192.168.0.101] Could not open the requested SVN filesystem [500, #13]
Could not openthe requested SVN filesystem [500, #13] 展开
A)
User apache
Group apache
B)
<Location /svn>
DAV svn
SVNParentPath /svn
AuthType Basic
AuthName "Subversionrepositories"
AuthUserFile /svnuser
AuthzSVNAccessFile /groups
Require valid_user
</Location>
2.查看权限:
A)
ls -ld /svn/test/
drwxr-xr-x 6 apache apache 4096 11-07 13:53 /svn/test/
B)
ls -ld /svn/test/format
-rwxr-xr-x 1 apache apache 2 11-07 13:53 /svn/test/format
3.错误描述:
A)页面显示:
<D:error><C:error/><m:human-readableerrcode="13">
Could notopen the requested SVN filesystem
</m:human-readable></D:error>
B)Apached的日志:
(20014)Internalerror: Can't open file '/svn/test/format': Permission denied
[error][client 192.168.0.101] Could not fetch resource information. [500, #0]
[error][client 192.168.0.101] Could not open the requested SVN filesystem [500, #13]
Could not openthe requested SVN filesystem [500, #13] 展开
1个回答
展开全部
原因很清楚啊,Permission denied
先看看apache是以什么账户运行,然后执行
chown -R <apache_account>:<apache_group> /svn
<>以你的替换
要是搞不清楚,干脆 chmod -R 777 /svn 好了
先看看apache是以什么账户运行,然后执行
chown -R <apache_account>:<apache_group> /svn
<>以你的替换
要是搞不清楚,干脆 chmod -R 777 /svn 好了
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
金山毒霸
2024-10-31 广告
2024-10-31 广告
大部分系统错误,是因为某些DLL文件丢失造成的,比如未安装DirectX9或DirectX 9.0组件已损坏、缺少Visual C ++库、未安装.net库。解决方法如下:一、 手动解决方法1、先确定电脑操作系统是多少位的,现在的电脑一般都...
点击进入详情页
本回答由金山毒霸提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询