Rysnc报错:rsync: chgrp ".hosts.G6sZha" (in backup) failed: Operation not permitted (1)

版权声明:©来自CSDN博客作者"李在奋斗"的原创作品,如需转载,请注明出处 https://blog.csdn.net/qq_31725371/article/details/83098204
[root@nfs-server ~]$ rsync -avz /etc/hosts rsync_backup@rsync-server::backup/
Password: 
sending incremental file list
hosts
rsync: chgrp ".hosts.G6sZha" (in backup) failed: Operation not permitted (1)

sent 219 bytes  received 124 bytes  45.73 bytes/sec
total size is 350  speedup is 1.02
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]
[root@nfs-server ~]$ 

这个是配置文件里面没有加fake super = yes 在以前的版本里面不需要,现在版本需要,在/etc/rsyncd.conf 文件里面添加即可解决。

猜你喜欢

转载自blog.csdn.net/qq_31725371/article/details/83098204