【发布时间】:2015-01-04 01:02:46
【问题描述】:
我想将一台服务器的主机文件与其他几台服务器同步。我对其他文件没有任何问题。 只有主机文件不起作用。错误信息也很奇怪:
rsync: mkstemp "/etc/.hosts.NOmAJ8" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
我使用的命令是
rsync -a /etc/hosts user@host:/etc/hosts
【问题讨论】:
标签: linux permissions rsync host