From: Costa Tsaousis (ktsaou) Date: Mon, 28 Nov 2016 20:15:20 +0000 (+0200) Subject: fix the directories the umask might have incorrectly created with wrong permissions... X-Git-Tag: v1.5.0~163^2 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netdata.git;a=commitdiff_plain;h=cfa797cd423494c2ee3fbef76a891bf33275aea1 fix the directories the umask might have incorrectly created with wrong permissions; #1292 --- diff --git a/netdata-installer.sh b/netdata-installer.sh index c16c3042..14875340 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -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