|
@@ -55,6 +55,15 @@ case "$1" in
|
|
chown -R root:netdata /var/lib/netdata/www
|
|
chown -R root:netdata /var/lib/netdata/www
|
|
setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/libexec/netdata/plugins.d/apps.plugin
|
|
setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/libexec/netdata/plugins.d/apps.plugin
|
|
|
|
|
|
|
|
+ chmod 4750 /usr/libexec/netdata/plugins.d/perf.plugin
|
|
|
|
+ chmod 4750 /usr/libexec/netdata/plugins.d/slabinfo.plugin
|
|
|
|
+ chmod 4750 /usr/libexec/netdata/plugins.d/cgroup-network
|
|
|
|
+ chmod 4750 /usr/libexec/netdata/plugins.d/nfacct.plugin
|
|
|
|
+ chmod 4750 /usr/libexec/netdata/plugins.d/ebpf.plugin
|
|
|
|
+
|
|
|
|
+ # Workaround for other plugins not installed directly by this package
|
|
|
|
+ chmod -f 4750 /usr/libexec/netdata/plugins.d/freeipmi.plugin || true
|
|
|
|
+
|
|
;;
|
|
;;
|
|
esac
|
|
esac
|
|
|
|
|