From b50285abd670087ec9dc3f310add68d1c2ff1bc7 Mon Sep 17 00:00:00 2001 From: Andy Wick Date: Wed, 1 Apr 2015 10:27:33 -0400 Subject: [PATCH] chmod after install (issue #363) --- easybutton-singlehost.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/easybutton-singlehost.sh b/easybutton-singlehost.sh index e969b2c644..474d971ecf 100755 --- a/easybutton-singlehost.sh +++ b/easybutton-singlehost.sh @@ -233,14 +233,15 @@ cat ${INSTALL_DIR}/single-host/bin/run_viewer.sh | sed -e "s,_TDIR_,${TDIR},g" > cat ${INSTALL_DIR}/single-host/bin/run_wise.sh | sed -e "s,_TDIR_,${TDIR},g" > ${TDIR}/bin/run_wise.sh chmod 755 ${TDIR}/bin/run*.sh - +find ${TDIR} -type d -exec chmod og+rx {} \; +find ${TDIR} -type f -exec chmod og+r {} \; cat ${INSTALL_DIR}/db/daily.sh | sed -e "s,CHANGEMEHOST:CHANGEMEPORT,127.0.0.1:9200,g" > ${TDIR}/db/daily.sh +chmod 755 ${TDIR}/db/daily.sh - -chown daemon:daemon ${TDIR}/viewer/public chown daemon:daemon ${TDIR}/raw + echo "MOLOCH: Running config script"