@cryptotaxi247 / netdata-1 / commits / 5ecdecce0

Set ownership correctly for plugins in netdata-installer.sh (#7923)

Austin S. Hemmelgarn committed Jan 30, 2020 at 09:50 UTC 5ecdecce05a1a0dd2317efa0b426331290f49635
1 file changed +1
netdata-installer.sh
+1
@@ -731,6 +731,7 @@ if [ "${UID}" -eq 0 ]; then
731 run chown -R "root:${admin_group}" "${NETDATA_PREFIX}/usr/libexec/netdata"
732 run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type d -exec chmod 0755 {} \;
733 run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -exec chmod 0644 {} \;
734 + run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.plugin -exec chown :${NETDATA_GROUP} {} \;
735 run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.plugin -exec chmod 0750 {} \;
736 run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type f -a -name \*.sh -exec chmod 0755 {} \;
737