diff options
author | boxjan <i@boxjan.li> | 2022-01-19 21:17:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 16:17:15 +0300 |
commit | 5132878fc96ada8950f436ed9e7acd5344ed4b98 (patch) | |
tree | 64e844a0c49ea5e28f513cce0393f70ba9bbf7e3 | |
parent | ce1028f4e08c9b18f03cf62338a8962190d75e13 (diff) |
fix permissions of plugins that may be built (#11877)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
-rwxr-xr-x | packaging/makeself/install-or-update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh index ae12cce7b6..13d178d31d 100755 --- a/packaging/makeself/install-or-update.sh +++ b/packaging/makeself/install-or-update.sh @@ -212,9 +212,9 @@ run chown -R ${NETDATA_USER}:${NETDATA_GROUP} /opt/netdata # ----------------------------------------------------------------------------- -progress "fix plugin permissions" +progress "changing plugins ownership and setting setuid" -for x in apps.plugin freeipmi.plugin ioping cgroup-network ebpf.plugin; do +for x in apps.plugin freeipmi.plugin ioping cgroup-network ebpf.plugin perf.plugin slabinfo.plugin nfacct.plugin xenstat.plugin; do f="usr/libexec/netdata/plugins.d/${x}" if [ -f "${f}" ]; then |