From 6243f1f9bf4c256684f0db380559d0af768e8fd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 10 Sep 2024 22:16:43 +0200 Subject: Updating chown in postinst for /usr/lib to /usr/libexec move in netdata 1.47 (Closes: #1079714). Signed-off-by: Daniel Baumann --- debian/netdata-core.postinst | 6 +++--- 1 file 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 -- cgit v1.2.3