CBIR、CV、虚拟化、分布式计算

期望与大家一起分享许多过程中的点滴```

SVN的配置及权限设置

conf/authz

### 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
g_Image = james,star,jacky,crystal,robin
g_Admin = robin

#这个表示在所有仓库的根目录下
[ImageGroup:/]
@g_Admin = rw
* = r


#对于每个成员用户都可以独自读写访问
[ImageGroup:/robin]
@g_Admin = rw
#//这个表示对所有的用户都具有读权限
* = r

#对于每个成员用户都可以独自读写访问
[ImageGroup:/james]
@g_Admin = rw
james = rw
#//这个表示对所有的用户都具有读权限
* = r

#对于每个成员用户都可以独自读写访问
[ImageGroup:/star]
@g_Admin = rw
star = rw
#//这个表示对所有的用户都具有读权限
* = r

#对于每个成员用户都可以独自读写访问
[ImageGroup:/jacky]
@g_Admin = rw
jacky = rw
#//这个表示对所有的用户都具有读权限
* = r

#对于每个成员用户都可以独自读写访问
[ImageGroup:/crystal]
@g_Admin = rw
crystal = rw
#//这个表示对所有的用户都具有读权限
* = r

#对于共享的工程,则需要同时所有授权用户都可疑读写
[ImageGroup:/share]
* = rw

#对于每个成员用户都可以独自读写访问
[ImageGroup:/sprit]
@g_Admin = rw
sprit = rw
#//这个表示对所有的用户都具有读权限
* = r

#对于每个成员用户都可以独自读写访问
[ImageGroup:/fisher]
@g_Admin = rw
fisher = rw
#//这个表示对所有的用户都具有读权限
* = r


conf/passwd

 

### 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]
robin = robin

james = james
crystal = crystal
star = star
jacky = jacky
klye = klye
sprit = sprit
fisher = fisher

 

conf/svnsever.conf

### 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 = /home/root/svn/ImageGroup

启动

svnserve -d -r /home/root/svn

关于SVN在LINUX下开机启动设置,后续会补上

阅读更多
个人分类: 其它
想对作者说点什么? 我来说一句

apach 下的svn 权限设置

2008年12月04日 88KB 下载

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭