@cryptotaxi247 / netdata-1 / commits / d46ecd14c

fixed also permissions for apps.plugin

Costa Tsaousis (ktsaou) committed Nov 16, 2015 at 01:01 UTC d46ecd14cfe1bd3c9cda5a2ae4804c2d92deff65
1 file changed +3
netdata.start
+3
@@ -91,6 +91,9 @@ do
91 chmod 0775 "${x}" "${x}" || echo >&2 "WARNING: Cannot change the permissions of the directory ${x} to 0755..."
92 done
93
94 +# fix apps.plugin to be setuid to root
95 +chown root '/usr/libexec/netdata/plugins.d/apps.plugin' && chmod 4755 '/usr/libexec/netdata/plugins.d/apps.plugin'
96 +
97
98 # -----------------------------------------------------------------------------
99 # stop a running netdata