diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh index 193f5f1b..3cc2930d 100755 --- a/bin/entrypoint.sh +++ b/bin/entrypoint.sh @@ -13,6 +13,7 @@ COMMAND="$@" # e.g. ./manage.py runserver chown "$USID":"$GRID" "$DATA_DIR" +chown -R "$USID":"$GRID" "/home/$ARCHIVEBOX_USER" usermod -u $USID $ARCHIVEBOX_USER groupmod -g $GRID $ARCHIVEBOX_USER -gosu $ARCHIVEBOX_USER bash -c "$COMMAND" \ No newline at end of file +gosu $ARCHIVEBOX_USER bash -c "$COMMAND"