netdata/packaging/installer: correlate permissions amongst plugins to 0750 (#5856)
Paul Emm. Katsoulakis committed
Apr 17, 2019 at 16:07 UTC
4bf648fe0ab16cdc88cfd2222b850d4df02d4001
1 file changed
+1
-1
netdata-installer.sh
+1
-1
@@ -683,7 +683,7 @@ if [ "${UID}" -eq 0 ]; then
683
run chown -R "root:${NETDATA_GROUP}" "${NETDATA_PREFIX}/usr/libexec/netdata"
684
run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type d -exec chmod 0755 {} \;
685
run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -exec chmod 0644 {} \;
686
- run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.plugin -exec chmod 0755 {} \;
686
+ run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.plugin -exec chmod 0750 {} \;
687
run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.sh -exec chmod 0755 {} \;
688
689
if [ -f "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/apps.plugin" ]; then