SVN security and Permissions configuration under Linux

Source: Internet
Author: User

Reprint please specify, original address: Click to open the link

http://blog.csdn.net/u010587274/article/details/51015532

Previous steps can refer to my other blog: Click to open the link

Linux (CentOS 7.0) uses Yum to install configuration and use SVN

Personal public Number: tanzi_888 (Tam zi technology circle)

[[Email protected] ~] cd/root/svn/project/conf

passwd: The user information is stored inside, the basic format is: User = passwd
Authz: Store the user's group information, and the access rights of each group
SVNSERVE.CONF: Store the basic configuration of the server (described below)

Open the Authz file and add the following:

1 Setting up groupings

# General project Manager (CTO and other privileges)

G_TOTAL_PM = Chenyongsong,tony

# # #炮炮项目

#炮炮项目经理
G_PAOPAO_PM = paopaopm
#炮炮客户端开发
G_paopao_clientdev = Xiong
#炮炮服务端开发
G_paopao_serverdev = Song
#炮炮策划
G_paopao_planners = Shasha
#炮炮美工
G_papopao_artist = Gang

# # #僵尸项目

#僵尸项目经理

G_ZOMBILE_PM = zombiepm
#僵尸客户端开发
G_zombile_clientdev = Scofield
#僵尸服务端开发
G_zombile_serverdev = Linda
#僵尸策划
G_zombile_planners = Lincon
#僵尸美工
G_zombile_artist = Tada

2 set different permissions for different groupings

#项目权限配置

[/]
@g_total_pm = RW
* =
@g_total_pm = RW
#炮炮项目权限配置
#paopao Project Permission Assignment
[/paopao_project]
@g_total_pm = RW
@g_paopao_pm = RW
* = R
[/paopao_project/paopao_client]
@g_total_pm = RW
@g_paopao_pm = RW
@g_paopao_clientDev = RW
* =
[/paopao_project/paopao_server]
@g_total_pm = RW
@g_paopao_pm = RW
@g_paopao_serverDev = RW
* =
[/paopao_project/paopao_documents]
@g_total_pm = RW
@g_paopao_pm = RW
@g_paopao_planners = RW
@g_paopao_clientDev = R
@g_paopao_serverDev = R
* =
[/paopao_project/paopao_resources]
@g_total_pm = RW
@g_paopao_pm = RW
@g_paopao_artist = RW
@g_paopao_clientDev = R
* =


#zombie Project Permission Assignment

#僵尸项目的权限配置
..........

two open the passwd file, and add the following:
#设置用户密码
Chenyongsong = 12345
Tony = 123456
Xiong = 123456
Song = 123456
..........

Third, modify the svnserve.conf, let the user and policy configuration take effect
Open a. svnserve.conf file, and modify the svnserve.conf file to modify the following:
[General]
Anon-access = None
auth-access = Write
Password-db = passwd
Authz-db = Authz


Notemeaning: After setting the above permission settings, you can create a directory with the total project manager permissions (remember: The local directory to the SVN directory
Consistent), after the commit, the permissions are set complete!!!

SVN security and Permissions configuration under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.