TortoiseSVN 提交时报错could not begin a transaction

TortoiseSVN 提交时报错   could not begin a transaction

此时,在iF.SVNAdmin的管理页面上,“设置”---"后端"的 “Subversion 授权相关” 进行 Test 操作时进行报错:

The file exists but is not writable

 

经过搜索之后的解决办法:

SELinux problem again
It's permission problem. But not "classic" read/write permissions of apache user, but selinux one.

Apache cannot write to files labeled as httpd_sys_content_t they can be only read by apache.

You have 2 possibilities:

label svn repository files as httpd_sys_content_rw_t:

   1- chcon -R -t httpd_sys_content_rw_t /path/to/your/svn/repo
set selinux boolean httpd_unified --> on

  2 - setsebool -P httpd_unified=1
Prefered 2nd possibility.

在TortoiseSVN重新输入用户名与密码,可以提交成功。

猜你喜欢

转载自blog.csdn.net/boise/article/details/83211198
今日推荐