SVN 权限配置
修改配置文件?
[root@wentao13 conf]# pwd /root/svnRepo/test.com/conf [root@wentao13 conf]# ll total 12 -rw-r--r--. 1 root root 1080 Mar 29 08:59 authz -rw-r--r--. 1 root root 309 Mar 29 08:59 passwd -rw-r--r--. 1 root root 3110 Mar 29 09:27 svnserve.conf [root@wentao13 conf]# vim svnserve.conf去掉:passwork-db=passwd 和 authz-db = zuthz 的注釋,保存文件
之后配置 authz 和passwd 文件
1.在passwd里面添加一個(gè)wentao的用戶(hù)
[root@wentao13 conf]# vim passwd [users] # harry = harryssecret # sally = sallyssecret wentao = 1234562.在authz里面添加一個(gè) 網(wǎng)站倉(cāng)庫(kù),下面填寫(xiě)我的用戶(hù)名 和權(quán)限分配?
[root@wentao13 conf]# vim authz [aliases] # joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average[groups] # harry_and_sally = harry,sally # harry_sally_and_joe = harry,sally,&joe# [/foo/bar] # harry = rw # &joe = r # * =# [repository:/baz/fuz] # @harry_and_sally = rw # * = r [test.com:/] wentao = rw[test.com:/] 的/表示根目錄
然后權(quán)限就分配完了,
我們用客戶(hù)端工具驗(yàn)證下(服務(wù)器防火墻記得關(guān)哦 systemctl stop firewalld)
?
?
總結(jié)
- 上一篇: 1.7 Appium依赖添加
- 下一篇: 性能测试的一些资料