diff --git a/joplin/rootfs/etc/cont-init.d/99-run.sh b/joplin/rootfs/etc/cont-init.d/99-run.sh index 8533c6a44..dcdc8c854 100644 --- a/joplin/rootfs/etc/cont-init.d/99-run.sh +++ b/joplin/rootfs/etc/cont-init.d/99-run.sh @@ -22,7 +22,7 @@ fi mkdir -p "$LOCATION"/resources ln -s $LOCATION/resources /home/joplin/packages/server - # chown -R www-data:www-data "$LOCATION" + chown -R joplin:joplin "$LOCATION" chmod -R 777 "$LOCATION" chmod 777 "$LOCATION/database.sqlite" export SQLITE_DATABASE="$LOCATION/database.sqlite"