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

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

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

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

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

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

 

相关文章:

  • 2021-08-17
  • 2021-11-09
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
猜你喜欢
  • 2021-05-04
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
相关资源
相似解决方案