Doesn't it require xattrs? I vaguely remember running into that at one point years ago. Not sure if the other flags you're using will force xattr support on or not, but it's worth checking.
LMP -----Original Message----- From: Grant Edwards <[email protected]> Sent: Thursday, September 30, 2021 3:00 PM To: [email protected] Subject: [gentoo-user] Re: setcap fails: (Operation not supported) On 2021-09-30, Andrew Udvare <[email protected]> wrote: > On 30/09/2021 13:58, Grant Edwards wrote: >> Still can't figure out how to get setcap to work > Not sure if this is it, but do you have CONFIG_EXT4_FS_SECURITY enabled? No, I don't. Google has found me information that indicates that SELinux and MAC (Mandatory Access Controls) require FS_SECURITY, but Google can't find any indication that FS_SECURITY is required for linux file capabilities. I should try enabling it and see... Several years ago, I know I could set capabilities on executables (on a different Gentoo machine), and I don't remember it being difficult to get working at all... -- Grant

