The installation and configuration of subversion on the test server were successful today, and then submitted from the client through SVNCodeAn error occurred.
Error: Can't open file '/data/SVN/develop/DB/txn-current-lock': Permission
Denied. You have no permissions.
Later, I checked the information to know that the root permission was used when I created the version library, now, normal users cannot update the files in the DB/directory (because the commit will update the DB/directory in the version library on the svn server ). The solution is to change all files in the DB/directory to common users (such as Web Server users) and modify the read/write permissions. The procedure is as follows:
CD/Data/SVN/Develop
Sudo chown WWW:WWW-R DB/
Sudo chmod777 -R DB/
Then you can submit the code.
This article If You Need To reprint, please note: Reprinted from: Blue Hawaii [http://www.coderbolg.com/]
Link: http://www.coderbolg.com/content/76.html