在文章《 Subversion 詳細(xì)說(shuō)明 》中,我們?cè)?jīng)建立了一個(gè)版本控制倉(cāng)庫(kù),現(xiàn)在打開(kāi)這個(gè)版本控制倉(cāng)庫(kù),讓我們來(lái)看看這個(gè)目錄結(jié)構(gòu),
我們會(huì)在目錄結(jié)構(gòu)中找到一個(gè)叫做conf的文件夾,打開(kāi)這個(gè)文件夾,你會(huì)看到三個(gè)文件,分別叫做authz,passwd,svnserve.conf。
|
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per line.
?
[users]
# harry = harryssecret
# sally = sallyssecret
nicholas = nicholas
friend = friend
stranger = stranger
|
|
### This file is an example authorization file for svnserve.
### Its format is identical to that of mod_authz_svn authorization
### files.
### As shown below each section defines authorizations for the path and
### (optional) repository specified by the section name.
### The authorizations follow. An authorization line can refer to a
### single user, to a group of users defined in a special [groups]
### section, or to anyone using the '*' wildcard.?Each definition can
### grant read ('r') access, read-write ('rw') access, or no access
### ('').
?
[groups]
# harry_and_sally = harry,sally
?
dev_group = nicholas,friend
test_group = stranger
?
# [/foo/bar]
# harry = rw
# * =
?
# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r
?
[/TestSVNProj]
@dev_group = rw
@test_group = r
* =
|
|
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository.?(If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
?
### Visit http://
subversion
.tigris.org/ for more information.
?
[general]
### 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 = none
# auth-access = write
### The password-db option controls the location of the password
### database file.?Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control.?Unless you specify a path
### starting with a /, the file's location is relative to the conf
### directory.?If you don't specify an authz-db, no path-based access
### control is done.
### Uncomment the line below to use the default authorization file.
authz-db = authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa.?The default realm
### is repository's uuid.
# realm = My First Repository
|
更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主
微信掃碼或搜索:z360901061
微信掃一掃加我為好友
QQ號(hào)聯(lián)系: 360901061
您的支持是博主寫(xiě)作最大的動(dòng)力,如果您喜歡我的文章,感覺(jué)我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對(duì)您有幫助就好】元

