From ff73b3e2c74395b4b07f031030604872b7d5944c Mon Sep 17 00:00:00 2001 From: vladaurosh <47857324+vladaurosh@users.noreply.github.com> Date: Thu, 21 Mar 2024 20:21:29 +0000 Subject: [PATCH] Update setup.sh Reverting back one chmod command --- dockerfiles/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/setup.sh b/dockerfiles/setup.sh index 6fab75a5..32c98003 100755 --- a/dockerfiles/setup.sh +++ b/dockerfiles/setup.sh @@ -68,7 +68,7 @@ touch "${INSTALL_DIR}"/pialert/front/log/{execution_queue.log,pialert_front.log, echo "[INSTALL] Fixing permissions after copied starter config & DB" chown -R nginx:www-data "${INSTALL_DIR}"/pialert/{config,front/log,db} -find "${INSTALL_DIR}"/pialert/{config,front/log,db} -type d -exec chmod 750 {} \; +chmod 750 "${INSTALL_DIR}"/pialert/{config,front/log,db} find "${INSTALL_DIR}"/pialert/{config,front/log,db} -type f -exec chmod 640 {} \; # Check if buildtimestamp.txt doesn't exist