diff --git a/debian/postinst b/debian/postinst index f704125c..fc7b55df 100644 --- a/debian/postinst +++ b/debian/postinst @@ -3,7 +3,7 @@ set -e if [ "$1" = configure ]; then if command -v setcap >/dev/null; then - if setcap cap_net_raw,cap_dac_read_search+ep /usr/bin/deepin-system-monitor; then + if setcap cap_net_raw+ep /usr/bin/deepin-system-monitor; then chmod u-s /usr/bin/deepin-system-monitor else echo "Setcap failed, falling back to setuid" >&2