Linux – rsync – failed to set permission – operation not permitted

chmodlinuxrsync

I got the following command with this error

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)

But the thing is that i don't want to change permission of "/home/tasklite/temp/". How can i set that?

Best Answer

Replace -avz with -rltvz. (The -a option is equivalent to -rlptgoD.)

Related Topic