linux svn 权限目录,SVN基于目录的ACL权限配置

### 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,

### - a group of users defined in a special [groups] section,

### - an alias defined in a special [aliases] section,

### - all authenticated users, using the '$authenticated' token,

### - only anonymous users, using the '$anonymous' token,

### - anyone, using the '*' wildcard.

###

### A match can be inverted by prefixing the rule with '~'. Rules can

### grant read ('r') access, read-write ('rw') access, or no access

### ('').

[aliases]

# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average

#暂时不知道有什么作用

[groups]

beijin = ihipop

shanghai = heiher,ihipop

japan= bubuto

[/ppt/dox]

bubuto=rw

# &joe = r

*=

#不使用版本库来进行目录限制,而只是用路径来匹配

[repository:/]

@beijin = rw

bubuto = r

* = ''

#@开头那行表示repository仓库只允许北京组别的人读写,其他人无权读写

#@ 表示接下来的是一个组名,不是用户名

#接下来一行赋予bubuto读权限

[repository:/doc]

@shanghai = rw

bubuto = rw

* = r

#权限的继承性体现。上层根目录对于其他用户是无权读写的

#bubuto对上层目录也没有写权限,但是这层有

#其他用户变成只读了

#如果最后一行注释,其他用户就会继承根目录的权限,即无法浏览

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值