Svnserve.conf文件里
[general]
# anon-access = read
# auth-access = write
# password-db = passwd
# authz-db = authz
改为:(注意要顶格)
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz
authz.conf文件里
[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
改为:(注意要顶格,@与单词要连在一起,这里的用户名与passwd.conf里的用户名要有对应)
[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
[/]
*=r
@harry_and_sally =rw
passwd.conf文件里
[users]
# harry = harryssecret
# sally = sallyssecret
改为:(注意顶格,“=”前是用户名,后是密码)
[users]
harry = harry
sally = sallyt
svnserve -d -r c:\svn_repository\