我试图这么简单的rsync到USB硬盘,命令是
rsync -az –modify-window = 2 / home / mnt / exthd / tmp /
我以root身份运行它.
但我收到很多错误,似乎都与权限不足有关:
rsync: chown "/mnt/exthd/tmp/home/someuser" Failed: Operation not permitted (1) rsync: chown "/mnt/exthd/tmp/home/someuser/.bash_logout" Failed: Operation not permitted (1) rsync: chown "/mnt/exthd/tmp/home/someuser/.bash_profile" Failed: Operation not permitted (1) rsync: chown "/mnt/exthd/tmp/home/someuser/.bashrc" Failed: Operation not permitted (1) rsync: chown "/mnt/exthd/tmp/home/guest" Failed: Operation not permitted (1) rsync: chown "/mnt/exthd/tmp/home/guest/.bash_logout" Failed: Operation not permitted (1) rsync: chown "/mnt/exthd/tmp/home/guest/.bash_profile" Failed: Operation not permitted (1) rsync: chown "/mnt/exthd/tmp/home/guest/.bashrc" Failed: Operation not permitted (1) rsync: symlink "/mnt/exthd/tmp/home/guest/fred2" -> "fred" Failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see prevIoUs errors) (code 23) at main.c(1042) [sender=3.0.7]
这是3.0.7版.我尝试使用–super选项无效.有任何想法吗?