Default user when name not defined.

Wayne Davison wayned at samba.org
Mon Mar 13 18:05:58 GMT 2006


On Mon, Mar 13, 2006 at 12:46:51PM -0500, Dave Mielke wrote:
> No, that'd still be unsafe. It needs to be predictable so that access
> rights aren't being inadvertently granted to those who shouldn't have
> them.

An ID offset is predictable: you simply specify an offset that elevates
the ID numbers to a value above what you use on your systems for real
users.  The only potential problem I can see is if you might have
unexpected unreal IDs in a backup transfer -- i.e. if you did a backup
operation to a system that is going to do a backup operation.  To combat
that, the option could be changed to something like --id-offset=+5000
when backing up, and --id-offset=-5000 when restoring, and that would
prevent a backup copy from ever turning a >5000 ID into one <5000
unexpectedly.  Perhaps this what you meant?

..wayne..


More information about the rsync mailing list