From: Adam Dullage Date: Fri, 14 Jun 2024 11:52:06 +0000 (+0100) Subject: Set file permissions on app directory X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ed7d74e88c05a3ae4969c566d0093a0a5c03c67f;p=flatnotes.git Set file permissions on app directory --- diff --git a/entrypoint.sh b/entrypoint.sh index 4d52468..1e4f8c5 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -31,6 +31,7 @@ flatnotes_command="python -m \ if [ `id -u` -eq 0 ] && [ `id -g` -eq 0 ]; then echo Setting file permissions... + chown -R ${PUID}:${PGID} ./ chown -R ${PUID}:${PGID} ${FLATNOTES_PATH} echo Starting flatnotes as user ${PUID}...