svn 提交报错post-commit hook failed (exit code 23) with output

svn 提交文件,hook同步更新报权限错误

排查后可能原因是被同步的服务器 selinux 已开启。

查看状态命令:/usr/sbin/sestatus -v  #如果SELinux status参数为enabled即为开启状态

临时关闭(不用重启机器):

setenforce 0                  ##设置SELinux 成为permissive模式
           ##setenforce 1 设置SELinux 成为enforcing模式

原文地址:https://www.cnblogs.com/houweijian/p/9982046.html