Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Trying to upload files without update perms/owner with this options:

--no-perms --no-owner --no-group -avz

It works well except it changes perms and owner, which is weird.

Something wrong with my rsync? Reinstalled and get same results. Please help.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Well, you are providing options to not change perms/owner, but after this you override them.

-a option is mean archive, and it implies perms/owner options implicitly.

use

-avz --no-perms --no-owner --no-group

instead

share|improve this answer
    
awesome! worked, thsnks. i'm feeling so dumb... –  alfred jon Oct 21 '12 at 20:21

Your Answer

 
discard

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.