rsync not preserving permissions

nate rsync at linuxpowered.net
Wed Feb 11 20:17:55 GMT 2009


Andy Smith wrote:
> Hi,
>
>    I am running the following command, it is "pulling" the files
> across from a read-only configured rsync server via ssh. The command
> runs as root and I use the -p option to preserve permissions but files
> with non-root owners are being created/updated as root owned. Can
> anyone explain whats wrong and if I can do anything to fix this?

Do the same userids exist at both ends? Try --numeric-ids as
an option and see if that helps.

nate



More information about the rsync mailing list