ssh + permissions
mbp at samba.org
Wed Mar 13 12:08:03 EST 2002
On 12 Mar 2002, "C.Zimmermann" <clemens at prz.tu-berlin.de> wrote:
> The command I am using is:
> rsync -avx --hard-links --links --ignore-errors --perms --devices
> and the permissions on the source are not appearing on the destination
> and the destination ssh-account has no root-rights.
Perhaps you mean that the file ownership is not the same on the
On most Unix systems, only root can change the ownership of a file.
rsync cannot get around this restriction. So if you need to transfer
files owned by multiple users and have the permissions be the same,
then you must make the destination ssh account be root.
Similarly only root can create device nodes. --devices cannot do
anything unless the destination runs as root.
More information about the rsync