wayned at samba.org
Fri Jan 23 16:32:34 GMT 2004
On Fri, Jan 23, 2004 at 11:08:05AM -0500, donkey at boo.net wrote:
> some of the files are owned by the user calling rsync and some are
> owned by the owner of the directory.
The only way you can have inconsistent ownership (without having root
involved) is for you to have ommitted 'chown'ed the entire tree to the
new user that is running rsync. This is needed to give that user full
permissions to be able to change things (merely being able to write a
file does not give you any permissions to change the permissions, for
instance, and on some OSes, not even the permission to set an arbitrary
timestamp). So, either run "chown -R new-user /dest/path" as root, or
remove the tree as the old-user and recopy it as the new-user.
More information about the rsync