@cryptotaxi247 / netdata-1 / commits / cfa797cd4

fix the directories the umask might have incorrectly created with wrong permissions; #1292

Costa Tsaousis (ktsaou) committed Nov 28, 2016 at 22:15 UTC cfa797cd423494c2ee3fbef76a891bf33275aea1
1 file changed +6
netdata-installer.sh
+6
@@ -724,6 +724,12 @@ else
724 run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type d -exec chmod 0755 {} \;
725 fi
726
727 +# --- fix #1292 bug ---
728 +
729 +[ -d "${NETDATA_PREFIX}/usr/libexec" ] && run chmod a+rX "${NETDATA_PREFIX}/usr/libexec"
730 +[ -d "${NETDATA_PREFIX}/usr/share/netdata" ] && run chmod a+rX "${NETDATA_PREFIX}/usr/share/netdata"
731 +
732 +
733 # -----------------------------------------------------------------------------
734 # check if we can re-start netdata
735