Saving ownership as non-root

Wayne Davison wayned at samba.org
Wed Aug 16 22:21:11 GMT 2006


On Wed, Aug 16, 2006 at 09:37:04PM +0200, Robert Siemer wrote:
> Anyway, the reasons for my first email were: Is somebody using
> something different or even better?

The only other similar software I've seen is pretendroot.  I haven't
evaluated either one for anything other than testing and package
building, however.

> Who ever touched the "--super" switch and why?

The --super option has two main uses.  It tells rsync to always attempt
the super-user activities implied by the current options, and this is
useful for (1) someone that wants to be sure that rsync is running as
root, or (2) someone that has a privileged admin account that can
preserve file ownership without being UID 0.

The first case is more likely, and solves the problem where an option
like -o (implied by -a) might be silently ignored if the remote rsync
isn't running as root like you thought it was.

..wayne..


More information about the rsync mailing list