Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I got the following command with this error

rsync -avz --links -O /home/jansiatest/.jenkins/workspace/svn_to_demo/trunk/CPS/
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?

share|improve this question

2 Answers 2

up vote 7 down vote accepted

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

share|improve this answer
Thanks man helped me out too. Though i only needed -rltv (not -rltvz) instaed of -av. Since i only used -av and not -avz to begin with :) – Zeroz Sep 10 '13 at 17:37

Adding --no-p disables just permissions setting, leaving all other options setup by -a intact. Another issue often happening is inability to set times this can be sorted by adding -O which you already have in your code

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.