[Buildroot] [PATCH] system: add optional rsync with preserved permissions
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Oct 4 15:15:12 UTC 2021
José, All,
On 2021-10-04 10:08 +0300, José Pekkarinen spake thusly:
> On Mon, Oct 4, 2021 at 10:00 AM Thomas Petazzoni < [1]thomas.petazzoni at bootlin.com> wrote:
> On Mon, 4 Oct 2021 09:41:43 +0300
> José Pekkarinen < [2]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.
> José: have you considered using a permission table to fixup the
> permissions ?
>
> Never heard of it,
It's irght there in the manual:
9.5.1. Setting file permissions and ownership and adding custom devices nodes
https://buildroot.org/downloads/manual/manual.html#rootfs-custom
Chapter 25. Makedev syntax documentation
https://buildroot.org/downloads/manual/manual.html#makedev-syntax
;-)
> 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.
Given your feedback, and Thomas' and my comments, I've then marked your
patch as rejected in Patchwork.
Thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list