From: AAlex_ <earthquake.de@freenet.de>
To: buildroot@busybox.net
Subject: [Buildroot] How to set file capability when root-fs is read-only.
Date: Fri, 13 Apr 2018 00:44:32 -0700 (MST) [thread overview]
Message-ID: <1523605472918-0.post@n4.nabble.com> (raw)
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/
next reply other threads:[~2018-04-13 7:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-13 7:44 AAlex_ [this message]
2018-04-13 7:58 ` [Buildroot] How to set file capability when root-fs is read-only AAlex_
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1523605472918-0.post@n4.nabble.com \
--to=earthquake.de@freenet.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.