summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/netdata-core.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/netdata-core.postinst b/debian/netdata-core.postinst
index 7f6b8402b..56aeafc7d 100755
--- a/debian/netdata-core.postinst
+++ b/debian/netdata-core.postinst
@@ -32,9 +32,9 @@ case "${1}" in
done
# handling plugin capabilities (or setuid as fallback)
- chown -R root:netdata /usr/lib/netdata/plugins.d
- setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/lib/netdata/plugins.d/apps.plugin || \
- chmod 4754 /usr/lib/netdata/plugins.d/apps.plugin
+ chown -R root:netdata /usr/libexec/netdata/plugins.d
+ setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/libexec/netdata/plugins.d/apps.plugin || \
+ chmod 4754 /usr/libexec/netdata/plugins.d/apps.plugin
# handling log owner and permissions
chown netdata:adm /var/log/netdata