0
我测试SVN用户为只读访问只读用户:以下是是,我在的Apache2和svn回购conf下的配置:在颠覆
但是我的测试用户已经读取和写入权限,而不是我希望只读访问。
repo location
/svn/test/
文件:/etc/apache2/conf.d/svn.conf
<location /repos>
DAV svn
#svn path
SVNParentPath /svn/
AuthType Basic
AuthName "Authorization Realm"
#password file path
AuthUserFile /etc/subversion/test.users
Require valid-user
</location>
AuthZ的配置(只有一个条目) 文件:/ SVN /测试/ CONF/AuthZ的
[test:/svn/test/]
* = r
也试过:以下
[groups]
readonly = user1, user2
[/]
*=r
@readonly=r
也试过:以下 [组] 只读=用户1,用户2
[10.29.3.238:80/repos/test]
*=r
你的问题是什么? – 2014-09-30 16:43:36