]> arthur.barton.de Git - netdata.git/commitdiff
fixed also permissions for apps.plugin
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 15 Nov 2015 23:01:21 +0000 (01:01 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 15 Nov 2015 23:01:21 +0000 (01:01 +0200)
netdata.start

index c12608980a7dda5e58225927331d8c224ce68cc1..b6cb947fd28fc397bfb3995a05e18b57b7b6a581 100755 (executable)
@@ -91,6 +91,9 @@ do
        chmod 0775 "${x}" "${x}" || echo >&2 "WARNING: Cannot change the permissions of the directory ${x} to 0755..."
 done
 
+# fix apps.plugin to be setuid to root
+chown root '/usr/libexec/netdata/plugins.d/apps.plugin' && chmod 4755 '/usr/libexec/netdata/plugins.d/apps.plugin'
+
 
 # -----------------------------------------------------------------------------
 # stop a running netdata