Set file permissions on app directory
authorAdam Dullage <redacted>
Fri, 14 Jun 2024 11:52:06 +0000 (12:52 +0100)
committerAdam Dullage <redacted>
Fri, 14 Jun 2024 11:52:06 +0000 (12:52 +0100)
entrypoint.sh

index 4d52468c046c9acdae801d76b4717910a29d05da..1e4f8c54e3c613d507042586c8603cee7682548c 100644 (file)
@@ -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}...
git clone https://git.99rst.org/PROJECT