From d60fc3fa43d8f8674a150bfa61bad4ae7407521a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 6 Apr 2010 14:44:53 +0200 Subject: [PATCH] debian: add postinst file which issues setcap --- debian/i3status.postinst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 debian/i3status.postinst diff --git a/debian/i3status.postinst b/debian/i3status.postinst new file mode 100644 index 0000000..bf67a48 --- /dev/null +++ b/debian/i3status.postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +# Allow users to get the speed of ethernet interfaces. This is not a security +# issue as i3status only queries the speed, it does not change any +# configuration. +setcap cap_net_admin=ep /usr/bin/i3status || true -- 2.39.2