diff --git a/immich/rootfs/etc/cont-init.d/20-folders.sh b/immich/rootfs/etc/cont-init.d/20-folders.sh index 239b729b91a7..e2fa65b3ea39 100755 --- a/immich/rootfs/etc/cont-init.d/20-folders.sh +++ b/immich/rootfs/etc/cont-init.d/20-folders.sh @@ -30,3 +30,5 @@ ln -sf "$DATA_LOCATION" /photos chown -R "$PUID":"$PGID" /photos mkdir -p "$MACHINE_LEARNING_CACHE_FOLDER" "$TYPESENSE_DATA_DIR" +chown -R "$PUID":"$PGID" "$MACHINE_LEARNING_CACHE_FOLDER" +chown -R "$PUID":"$PGID" "$TYPESENSE_DATA_DIR"