From 0d5e665c3a78bbc40dff42b670305e15c3d04c17 Mon Sep 17 00:00:00 2001 From: pucherot Date: Thu, 28 Jan 2021 11:23:54 +0100 Subject: [PATCH] Update pialert_install.sh --- install/pialert_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/pialert_install.sh b/install/pialert_install.sh index a5134adc..3bcf1de4 100644 --- a/install/pialert_install.sh +++ b/install/pialert_install.sh @@ -542,7 +542,8 @@ publish_pialert() { print_msg "- Setting permissions..." sudo chgrp -R www-data $PIALERT_HOME/db 2>&1 >> "$LOG" - chmod -R 770 $PIALERT_HOME/db 2>&1 >> "$LOG" + chmod -R g+rwx $PIALERT_HOME/db 2>&1 >> "$LOG" + chmod go+x $INSTALL_DIR 2>&1 >> "$LOG" print_msg "- Publishing Pi.Alert web..." sudo ln -s "$PIALERT_HOME/front" "$WEBROOT/pialert" 2>&1 >> "$LOG"