]> arthur.barton.de Git - netdata.git/commitdiff
fix the directories the umask might have incorrectly created with wrong permissions...
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 28 Nov 2016 20:15:20 +0000 (22:15 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 28 Nov 2016 20:15:20 +0000 (22:15 +0200)
netdata-installer.sh

index c16c30423cd81e57a97c49d164621852142d9e6c..1487534000cca2e49b1d925d2e640ae7c282097d 100755 (executable)
@@ -724,6 +724,12 @@ else
     run find "${NETDATA_PREFIX}/usr/libexec/netdata" -type d -exec chmod 0755 {} \;
 fi
 
+# --- fix #1292 bug ---
+
+[ -d "${NETDATA_PREFIX}/usr/libexec" ] && run chmod a+rX "${NETDATA_PREFIX}/usr/libexec"
+[ -d "${NETDATA_PREFIX}/usr/share/netdata" ] && run chmod a+rX "${NETDATA_PREFIX}/usr/share/netdata"
+
+
 # -----------------------------------------------------------------------------
 # check if we can re-start netdata