* [Buildroot] How to set capabilities in rootfs images ? [not found] <1364311655.5222144.1392024742879.JavaMail.root@openwide.fr> @ 2014-02-10 10:25 ` Romain Naour 0 siblings, 0 replies; only message in thread From: Romain Naour @ 2014-02-10 10:25 UTC (permalink / raw) To: buildroot Hi all, I would like to know if it's possible to set capabilities whith setcap for a specific binary inside buildroot's rootfs image ? I created a user account on target and I want to be able to run a program that needs CAP_SYS_NICE. From what I have seen, it would be possible only in the fakeroot since the fakeroot's script start with "chown -R 0:0". chown drop all capabilities. It appears that setcap tool is not working in fakeroot. So, I updated fakeroot to the latest version (1.20) to have the last commit: https://alioth.debian.org/scm/browser.php?group_id=30001 Also, I'm not sure if I need a specific version of host-tar (1.27.1) to save capabilities. Do you have any suggestions ? Thanks, -- Romain Naour OPEN WIDE Ing?nierie - Paris 23/25, rue Daviel| 75013 PARIS http://ingenierie.openwide.fr Le blog des technologies libres et embarqu?es : http://www.linuxembedded.fr ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-10 10:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1364311655.5222144.1392024742879.JavaMail.root@openwide.fr>
2014-02-10 10:25 ` [Buildroot] How to set capabilities in rootfs images ? Romain Naour
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox