啟用兩個檔案
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 directory containing
### this configuration
file.
### if sasl is enabled (see below), this file will not be used.
### 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
### directory containing this file. the specified path may be a
### repository relative url (^/) or an absolute file:// url to a text
### file
in a subversion repository. 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
使用者管理檔案:
按照樣例新增四個使用者:
[users]
# harry = harryssecret
# sally = sallyssecret
tom = 123456
jerry = 123456
ceshi = 123456
sk=123456
許可權設定檔案
[/] //為根目錄設定許可權
@kaifa=rw //組許可權
ceshi=r //指定使用者許可權
sk=r
* =//遮蔽掉非指定使用者
效果:
SVN版本控制管理
簡單原理 svn會將resposity的每一次修改後的 當作中間狀態儲存並編號,這樣就可以進行版本控制。客戶端獲得reposity的副本,對副本的操作不影響服務端的resposity.使用流程 1.checkout 2.進行增 先將檔案拖到working copy,然後使用add命令加入本地resp...
svn多版本許可權控制
查詢是否安裝 rpm qa subversion 安裝yum y install subversion 指定svn的資料儲存路徑 mkdir p mnt vdb1 svndata 指定svn的配置檔案資訊路徑 mkdir p mnt vdb1 svndata 啟動svn服務 svnserve d r...
svn版本管理配置許可權
修改svn配置 編輯svnserve.conf檔案 第19,20行刪掉前面的 意思就是開啟 ancon access none 不可讀 auth access write 認證可寫 刪掉第27行 password db passwd 表示啟用 passwd 這個檔案 刪掉第34行 authz db ...