Date: Thu, 24 Nov 2011 07:08:29 -0800 From: perryh@pluto.rain.com To: martin@dc.cis.okstate.edu Cc: freebsd-questions@freebsd.org Subject: Re: Rsync and Preservation of Ownership and Permissions Message-ID: <4ece5ded.AjV2J/4CEfBkKHj9%perryh@pluto.rain.com> In-Reply-To: <201111240501.pAO51jUb023756@x.it.okstate.edu> References: <201111240501.pAO51jUb023756@x.it.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin McCormick <martin@dc.cis.okstate.edu> 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ece5ded.AjV2J/4CEfBkKHj9%perryh>