From: Adam Dullage Date: Wed, 24 Jul 2024 12:16:31 +0000 (+0100) Subject: Fix incorrect path when setting file permissions for data directory X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=85f36ec1646bf0aca17f0c7566c937415d26427d;p=flatnotes.git Fix incorrect path when setting file permissions for data directory (cherry picked from commit 3eb4469c26d656308984de1737893fe460bfd466) --- diff --git a/entrypoint.sh b/entrypoint.sh index 3ab186a..4d52468 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -31,7 +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}... exec ${EXEC_TOOL} ${PUID}:${PGID} ${flatnotes_command}