搭建完后所有的配置如下
[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服务器了
记录下,下次找到了权限问题原因在再更新