[Buildroot] [PATCH] package/usbguard: enforce the right permissions on the configuration file
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Jul 18 21:31:18 UTC 2021
On Fri, 18 Jun 2021 11:47:10 +0200
Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> Only 0600 rights are allowed for the rules.conf. This file is read when the
> usbguard daemon starts and will prevent it to run otherwise.
>
> As Git only tracks the executable bit, setting the right permissions in the
> package makefile is the cleanest solution, in particular when providing this
> file from a rootfs overlay.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
> package/usbguard/usbguard.mk | 3 +++
> 1 file changed, 3 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list