summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-11-28 22:15:20 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-11-28 22:15:20 +0200
commitcfa797cd423494c2ee3fbef76a891bf33275aea1 (patch)
tree5d9ef13a3488a84af44fda88f592872d4315543c /netdata-installer.sh
parentb38ec23b88f38272d993f952bfa2ef1aa4e470a9 (diff)
fix the directories the umask might have incorrectly created with wrong permissions; #1292
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index c16c30423c..1487534000 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