51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

rsync: Permission denied (13) 问题解决方法

[root@backup2 ~]# rsync -avz /etc/passwd zs@10.0.0.41::backup
Password:
sending incremental file list
rsync: recv_generator: failed to stat "passwd" (in backup): Permission denied (13)

sent 49 bytes received 107 bytes 44.57 bytesc
total size is 974 speedup is 6.24
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]

出现这个的原因就是 selinux没关

Linux关闭selinux 命令

赞(4)
未经允许不得转载:工具盒子 » rsync: Permission denied (13) 问题解决方法