Highlights of SVN configuration in linux

Source: Internet
Author: User
Article Title: Highlights of SVN configuration in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

The company's SVN is down. After the reinstallation and restoration, the version data can be downloaded, but cannot be uploaded. CRASH ING

Fortunately, Baidu's uncle and Google's sister helped me solve the problem.

1. Execute the Import operation. Error message: Error: Can't create directory '/storage/yslProR/db/transactions/0-1.txn': Permission denied

Method: This is related to the linux User's permission to access the directory.

1) Create an apache user and group, and useradd apache groupadd apache

2) Add the user apache to the apache Group usermod-ggroup apache

3) modify the http. cont file of apache

Find User daemon

Group daemon

Change to User apache

Group apache

4) Only apache users have the permission to operate the SVN library directory.

Chown-R apache/LIBRARY PATH

Chmod 700/LIBRARY PATH

5) Note: If you have apache users and groups, you do not need to create them.

2.

Error: Can't create directory '/svn/test/db/transactions/1-1.txn': Permission denied

Method: do not have write permission, chmod go + w transactions

3.

Commit failed (details follow ):

Can't open activity db: Permission denied

Method: Modify the write permission of the dav and db directories in the repository ..

Recommended chmod-R 777 library folder

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.