git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e961c44
)
Fix incorrect path when setting file permissions for data directory
author
Adam Dullage
<redacted>
Wed, 24 Jul 2024 12:16:31 +0000
(13:16 +0100)
committer
Adam Dullage
<redacted>
Wed, 24 Jul 2024 17:56:11 +0000
(18:56 +0100)
(cherry picked from commit
3eb4469c26d656308984de1737893fe460bfd466
)
entrypoint.sh
patch
|
blob
|
history
diff --git
a/entrypoint.sh
b/entrypoint.sh
index 3ab186a59acd560b694e48b9bdf6e41da9bc61fa..4d52468c046c9acdae801d76b4717910a29d05da 100644
(file)
--- 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}
git clone https://git.99rst.org/PROJECT