Skip to content

Commit

Permalink
chmod after install (issue #363)
Browse files Browse the repository at this point in the history
  • Loading branch information
awick committed Apr 1, 2015
1 parent d4ba9be commit b50285a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions easybutton-singlehost.sh
Expand Up @@ -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"


Expand Down

0 comments on commit b50285a

Please sign in to comment.