[Buildroot] How to set file capability when root-fs is read-only.
AAlex_
earthquake.de at freenet.de
Fri Apr 13 07:44:32 UTC 2018
Hi,
how to deal with file-capabilities (setcap) when buildroot generates the
root-fs and mount as read only is selected?
I have an executable that needs several file-capabilities (eg. cap_sys_boot)
because the executable should not run as root-user.
Currently I use the rootfs as read-write file-system and the setcap is
called during Startup-Process.
How can buildroot set the capabilites?
The application is build by buildroot as a package and calling setcap in
_INSTALL_TARGET_CMDS fails.
Regards,
Alex
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
More information about the buildroot
mailing list