Question :
When using TortoiseSVN and ssh command line to access svn server, i still can’t commit the file, can’t create the folder, can’t write the source code and always returned me this error message :
'/svnserver/svn/testrepo/db/txn-current-lock': Permission denied
Solution :
This is a common problem on subversion. A lot or developers and programmers who use subversion facing this kind or error. This is about the permissions issues. To solve it, make sure that the apache user has read/write access to your entire “testrepo” repository. To do that, chown -R apache:apache as below :
[root@svnserver ~]# chown -R apache:apache testrepo
4 Comments
That was the only fix that actually worked to me. Thanks a lot.
Hi,
This issue may be linked with SELinux.
The SELINUX boolean value to make SVN write through webdav work is:
setsebool -P httpd_unified=1
Thanks it work for me
This solution works for me thank you
Tambakoly
step1 : chown -R apache:apache myrepo
step2 : setsebool -P httpd_unified=1
step3: from svn client i authenticate and check out with different user name