系统平台:RHEL5.3
客户机:
[root@test1 ~]# rsync -vzrtopg --progress --delete --password-file=/etc/rsyncd.pwd /var/www/html
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1296) [sender=2.6.8]
服务器日志(/var/log/rsyncd.log):
rsync: chdir /backup failed: Permission denied (13)
原因及解决办法:
SELinux;
setsebool -P rsync_disable_trans on
阅读(18518) | 评论(1) | 转发(0) |