summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-10 20:16:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-10 20:16:43 +0000
commit6243f1f9bf4c256684f0db380559d0af768e8fd8 (patch)
tree37a75e95b1bd08f74bce631b9bf59b961557c31d
parentMerging upstream version 1.47.1. (diff)
downloadnetdata-6243f1f9bf4c256684f0db380559d0af768e8fd8.tar.xz
netdata-6243f1f9bf4c256684f0db380559d0af768e8fd8.zip
Updating chown in postinst for /usr/lib to /usr/libexec move in netdata 1.47 (Closes: #1079714).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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