diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-10 20:16:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-10 20:16:43 +0000 |
commit | 6243f1f9bf4c256684f0db380559d0af768e8fd8 (patch) | |
tree | 37a75e95b1bd08f74bce631b9bf59b961557c31d | |
parent | Merging upstream version 1.47.1. (diff) | |
download | netdata-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-x | debian/netdata-core.postinst | 6 |
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 |