subversion一些默認(rèn)的設(shè)置
Posted on 2007-04-16 21:40 wonderer 閱讀(220) 評(píng)論(0) 編輯 收藏 所屬分類(lèi): linux在subversion的配置文件 svnserve.con 中,默認(rèn)的配置都說(shuō)的很清楚。可是在配置的時(shí)候,卻沒(méi)有看清楚。一天,一個(gè)小組的成員說(shuō)他檢出他項(xiàng)目的時(shí)候可以不輸入密碼的,但是項(xiàng)目的源碼卻不可以對(duì)外公開(kāi)的。于是,才發(fā)覺(jué)到這個(gè)問(wèn)題。
后來(lái)發(fā)現(xiàn)問(wèn)題出現(xiàn)在
anon-access = read
這里,配置文件里說(shuō)的很清楚的
### 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
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
#anon-access = read
#auth-access = write
默認(rèn)的是匿名可讀的,現(xiàn)只要添加
anon-access = none
就可以了