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