Resolve svn submission times cant open file/data/svn/develop/db/txn-current-lock:permission denied error

Source: Internet
Author: User
Tags svn

Today on the test server installation, configuration subversion is very smooth, and then through SVN to submit code from the client there is a problem, reported a mistake: Can ' t open file '/data/svn/develop/db/ Txn-current-lock ': Permission denied. Ah, there is no authority.

And then I checked the data. Since the version library was created with root permissions, ordinary users would not be able to update the files in the db/directory (because the submission would update the db/directory in the version library on the SVN server). The solution is to modify the files in the db/directory into ordinary users, such as Web server users, and modify read and write permissions. The operation is as follows:

CD 
/
data
/
SVN
/
Develop

sudo chown www : www - R db /

sudo chmod 777 - R db /

This will be done by submitting the code again. This article if you need to reprint, please be sure to indicate: reproduced from: Blue Hawaii [http://www.coderbolg.com/]
This article link address: http://www.coderbolg.com/content/76.html

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.