Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 07:08:29 -0800
Subject:   Re: Rsync and Preservation of Ownership and Permissions
Message-ID:  <4ece5ded.AjV2J/>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Martin McCormick <> wrote:

> 	Rsync is a great utility, but is there a way to preserve
> ownership and permissions if rsync remotely logs in to a backup
> server as a normal user?

AFAIK, no, because only root may change the ownership of a file --
see chown(2).

> 	Any ideas are greatly appreciated.

Perhaps you could have rsync log in to a jail on the backup server,
where it could safely be granted root permission.

Want to link to this message? Use this URL: <>