fix permissions of plugins that may be built (#11877)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
boxjan committed
Jan 19, 2022 at 21:17 UTC
5132878fc96ada8950f436ed9e7acd5344ed4b98
1 file changed
+2
-2
packaging/makeself/install-or-update.sh
+2
-2
@@ -212,9 +212,9 @@ run chown -R ${NETDATA_USER}:${NETDATA_GROUP} /opt/netdata
212
213
# -----------------------------------------------------------------------------
214
215
-progress "fix plugin permissions"
215
+progress "changing plugins ownership and setting setuid"
216
217
-for x in apps.plugin freeipmi.plugin ioping cgroup-network ebpf.plugin; do
217
+for x in apps.plugin freeipmi.plugin ioping cgroup-network ebpf.plugin perf.plugin slabinfo.plugin nfacct.plugin xenstat.plugin; do
218
f="usr/libexec/netdata/plugins.d/${x}"
219
220
if [ -f "${f}" ]; then