SVN usage process record (4)-error: not authorized to open root of edit operation

Source: Internet
Author: User

I. Problem Description

Today, we need to set SVN permissions in detail. As a result, a problem occurs when my colleagues update their files using the assigned permissions (as shown below ):

2. explore solutions

1. Preliminary Analysis

Search for information on the Internet and analyze the svnserve. conf file. If there is information on the Internet, change "Anon-access = read" to "Anon-access = none ". Check your svnserve. conf file. In fact, I have set it to "Anon-access = none. But cannot be updated.

2. In-depth consideration

View the notes attached to the svnserve. conf file:

 

 

### 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 = read # auth-access = write is originally like this: Anon-access = read --> indicates the anonymous access permission, which is read-only. Auth-access = write --> indicates to authenticate the user's access permission, which is writable. Check your authz file and find that, although you have assigned the read and write permissions to the specified directory to your colleague's account, you have not set the permission for the parent directory of the specified directory for this account. In this way, by default, this account does not have the permission to access the upper-level directory of the specified directory. Therefore, the permissions set in this way are in conflict. 3. Solution: (1) set the default access permission to read-only (Anon-access = read ), in this way, all users can access the configuration library directory. The disadvantage is that the security of the configuration library is reduced, so select the second method. (2) Assign read-only permissions to the account so that the account has read-only permissions on the parent directory of the specified directory. Iii. Summarize and use the second method to solve the problem. When you discover problems when using SVN, you still need to check the description of the files in SVN. This will be of great help and a prompt from these developers, in our development process, you must write comments or instructions in detail.

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.