How to keep rsync from chown’ing transferred files?

You are probably running rsync like this: rsync -a dir/ remote:/dir/ The -a option according to the documentation is equivalent to: -rlptgoD -a, –archive archive mode; equals -rlptgoD (no -H,-A,-X) You probably want to remove the -o and -g options: -o, –owner preserve owner (super-user only) -g, –group preserve group So instead your rsync command … Read more