diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/debian/netdata.postinst | 4 | ||||
-rwxr-xr-x | contrib/debian/rules | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/debian/netdata.postinst b/contrib/debian/netdata.postinst index eb9104bb7..17182c7e9 100644 --- a/contrib/debian/netdata.postinst +++ b/contrib/debian/netdata.postinst @@ -54,9 +54,9 @@ case "$1" in chown -R root:netdata /usr/libexec/netdata/plugins.d 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+ep /usr/libexec/netdata/plugins.d/slabinfo.plugin + setcap cap_perfmon+ep /usr/libexec/netdata/plugins.d/perf.plugin || setcap cap_sys_admin+ep /usr/libexec/netdata/plugins.d/perf.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 diff --git a/contrib/debian/rules b/contrib/debian/rules index 9bfd057f1..533c2ecfb 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -103,9 +103,9 @@ override_dh_fixperms: # apps.plugin should only be runnable by the netdata user. It will be # given extra capabilities in the postinst script. # - chmod 0754 $(TOP)/usr/libexec/netdata/plugins.d/apps.plugin - chmod 0754 $(TOP)/usr/libexec/netdata/plugins.d/perf.plugin - chmod 0754 $(TOP)/usr/libexec/netdata/plugins.d/slabinfo.plugin + chmod 0750 $(TOP)/usr/libexec/netdata/plugins.d/apps.plugin + chmod 0750 $(TOP)/usr/libexec/netdata/plugins.d/perf.plugin + chmod 0750 $(TOP)/usr/libexec/netdata/plugins.d/slabinfo.plugin chmod 0750 $(TOP)/usr/libexec/netdata/plugins.d/go.d.plugin # CUPS plugin package |