[Buildroot] [PATCH] system: add optional rsync with preserved permissions

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Oct 4 07:30:20 UTC 2021


On Mon, 4 Oct 2021 10:08:09 +0300
José Pekkarinen <jose.pekkarinen at unikie.com> wrote:

> Never heard of it, but after a quick check it looks like
> it is a better answer to my problem, since I found that, for
> example, if I want to provide, an authorized_keys file owned
> by root, with 600 permissions, rsync copies the file with 644,
> which is closer, but not perfect.

Yes, with a permission table, you can adjust not just the permissions,
but also the ownership of files.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com


More information about the buildroot mailing list