* [Buildroot] How to set file capability when root-fs is read-only.
@ 2018-04-13 7:44 AAlex_
2018-04-13 7:58 ` AAlex_
0 siblings, 1 reply; 2+ messages in thread
From: AAlex_ @ 2018-04-13 7:44 UTC (permalink / raw)
To: buildroot
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-13 7:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-13 7:44 [Buildroot] How to set file capability when root-fs is read-only AAlex_
2018-04-13 7:58 ` AAlex_
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.