其他分享
首页 > 其他分享> > Aliyun搭建svn服务器外网访问报错权限配置失败错误

Aliyun搭建svn服务器外网访问报错权限配置失败错误

作者:互联网

搭建完后所有的配置如下

[root@iZuf655czz7lmtn8v15tsjZ conf]# pwd
/home/SVN/conf
[root@iZuf655czz7lmtn8v15tsjZ conf]# ls
authz  passwd  svnserve.conf

依次修改配置文件内容如下

[root@iZuf655czz7lmtn8v15tsjZ conf]# view passwd
[users]
admin=admin123456
[root@iZuf655czz7lmtn8v15tsjZ conf]# view authz
[groups]
group_admin=admin
group_test=test1,test2
group_dev=bob_dev

[/]
@group_admin=rw
@group_test=r
@gruop_dev=rw
[root@iZuf655czz7lmtn8v15tsjZ conf]# view svnserve.conf
[general]
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz
realm = /home/SVN

但是。。。本地连不上,依然报错auth错误

看了很多解释,都没有成功,最后参考了这个

https://blog.csdn.net/whm18322394724/article/details/79675199

因为是我自己一个人用,就直接注释了auth验证

[root@iZuf655czz7lmtn8v15tsjZ conf]# view svnserve.conf
[general]
#authz-db = authz

重启

[root@iZuf655czz7lmtn8v15tsjZ conf]# ps -ef | grep svnserve
[root@iZuf655czz7lmtn8v15tsjZ conf]# kill -9 30613
[root@iZuf655czz7lmtn8v15tsjZ conf]# svnserve -d -r /home/SVN/

这样就无权限验证访问svn服务器了

记录下,下次找到了权限问题原因在再更新

标签:svn,authz,group,Aliyun,iZuf655czz7lmtn8v15tsjZ,svnserve,报错,conf,root
来源: https://www.cnblogs.com/bobkingblog/p/12118183.html