[Buildroot] [PATCH] system: add optional rsync with preserved permissions
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Oct 4 07:00:36 UTC 2021
Hello,
On Mon, 4 Oct 2021 09:41:43 +0300
José Pekkarinen <jose.pekkarinen at unikie.com> wrote:
> +config BR2_ROOTFS_OVERLAY_PRESERVED_PERMISSION
> + string "Preserve permissions of overlay directories"
> + depends on BR2_ROOTFS_OVERLAY
> + default "n"
> + help
> + Preserve file permissions of specified overlay.
I'm afraid we probably won't want an option like this.
The question is why in the existing SYSTEM_RSYNC we don't preserve
permissions? I can imagine because sometimes they can be wrong in the
original overlay, for example with version control systems that put all
files read-only.
Yann, Arnout: do you remember why SYSTEM_RSYNC has --chmod=u=rwX,go=rX ?
José: have you considered using a permission table to fixup the
permissions ?
Best regards,
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