Hi,

The linked issue recommends running `sudo setcap cap_perfmon=ep
/usr/bin/btop` to set the capability for the binary.

I am not aware of how to set capabilities in Debian packaging. There
are no signs of any automated way to do it:

https://manpages.debian.org/unstable/debhelper/dh_installdeb.1.en.html
https://manpages.debian.org/unstable/manpages/capabilities.7.en.html
https://manpages.debian.org/unstable/libcap2-bin/setcap.8.en.html

I would rather not introduce custom mainters scripts to run misc shell
commands with security implications during install. Maybe we need to
wait for Debian to introduce some general capability management
facility in Debian packaging, like a debian/btop.setcap file etc.

Reply via email to