Posted on 2007-04-16 21:40
wonderer 閱讀(223)
評論(0) 編輯 收藏 所屬分類:
linux
在subversion的配置文件 svnserve.con 中,默認的配置都說的很清楚。可是在配置的時候,卻沒有看清楚。一天,一個小組的成員說他檢出他項目的時候可以不輸入密碼的,但是項目的源碼卻不可以對外公開的。于是,才發覺到這個問題。
后來發現問題出現在
anon-access = read
這里,配置文件里說的很清楚的
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
#anon-access = read
#auth-access = write
默認的是匿名可讀的,現只要添加
anon-access = none
就可以了