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