[Csync2] Preserving file ownership by user/group string

Lars Ellenberg lars.ellenberg at linbit.com
Mon Dec 10 10:06:10 CET 2007


On Sat, Dec 08, 2007 at 07:21:43PM +0000, Terry Burton wrote:
> Hi.
> 
> In the absence of a --numeric-owner or --numeric-ids argument most
> file tools (such as rsync and tar) will preserve file ownership by
> setting the target file's owner to the result of a lookup by
> *user/group strings* and then fall back to using the source UID/GID if
> that lookup fails. This allows the tools to function in situations
> where hosts have necessarily differing /etc/passwd and /etc/group
> files, as is my case.
> 
> How much effort would be required to modify csync2 accordingly,

about one man day for someone already familiar with csync2 code.

> and what is the likelihood of such a feature being developed

unlikely.

> or accepted in future?

very likely, if coded cleanly.

-- 
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :


More information about the Csync2 mailing list