SVN (2. permission management)

Source: Internet
Author: User

SubversionPermission Configuration

V svn repository permission Configuration

?Svnserve. confDefine all authentication and authorization policies

?PasswdStore project member account information

?AuthzMainly for complex group permission Control

In the conf directory under the project repository directory

F First, modify the svnserve. conf file as follows and find the following four lines:

# Anon-access = read

# Auth-access = write

# Password-DB = passwd

# Authz-DB = authz

Remove the "#" sign before the four rows and modify it as follows:

Anon-access = none anonymous users are not allowed to access

Auth-access = users who pass write verification can read and write

Password-DB = passwd the user saves the file

Authz-DB = authz permission management File

F Step 2 Add a row to passwd

User1 = user1passwd (username and password)

User2 = user1pwd

 

Step 3: perform the following operations on authz:

[Groups]

Svngroup = LTW

[Itcast:/]

@ Svngroup = RW defines that all users in the svngroup have read and write permissions (Note: RW permissions are inherited, for example, if we have set the read and write permissions for the root directory, we also have the read and write permissions for all subdirectories in the root directory)

User1 = r defines that user user1 has read permission

* = Other users have no Permissions

If the permission protection directory is Chinese, you must use the ultraedit tool to transfer the authz file to the UTF-8 without BOM format

Otherwise, the permission does not take effect.

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.