Sebastian Kemper <sebastian...@gmx.net> [2020-06-09 19:18:55]:

> This commit addresses two permission issues.
> 
> 1. The firmware is currently just copied. It can end up with o= on the
>    device (this is the case for voice_ar9_firmware.bin for instance).
>    Instead of copying it the Makefile is changed to use the macro
>    "$(INSTALL_DATA)" in order for the file to be world-readable.
> 2. A configuration file /etc/config/vmmc is added and the init script
>    updated accordingly, to allow changing the group of the device nodes.
>    Like this applications running as non-root may access the device
>    nodes after the user changes the configuration to the appropriate
>    group (for instance "asterisk"). Currently asterisk users update
>    init scripts to fix the permissions. With a configuration option the
>    user experience is easier and more straight-forward.

Thanks, merged just the 1. into my staging tree as discussed in the GitHub PR.

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to