linux – rsync – 未能设置权限 – 不允许操作

我收到以下命令时出现此错误

rsync -avz --links -O /home/jansiatest/.jenkins/workspace/svn_to_demo/trunk/CPS/ jansia@ps27670.dreamhost.com:/home/tasklite/temp
sending incremental file list
./
rsync: failed to set permissions on "/home/tasklite/temp/.": Operation not permitted (1)

但问题是我不想改变“/ home / tasklite / temp /”的许可.我怎么设置它?

将-avz替换为-rltvz. (-a选项等同于-rlptgoD.)
翻译自:https://serverfault.com/questions/423075/rsync-failed-to-set-permission-operation-not-permitted

转载注明原文:linux – rsync – 未能设置权限 – 不允许操作