Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(docker): fix /app ownership for .init file
7185e43f47873768
diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.shindex 283b648e..ac23d4aa 100644--- a/scripts/docker-entrypoint.sh+++ b/scripts/docker-entrypoint.sh@@ -17,6 +17,9 @@ if ! getent passwd "${PUID}" >/dev/null 2>&1; thenadduser -D -u "${PUID}" -G "${group_name}" -s /bin/sh syncinfi+# Change /app ownership to syncin (for writing .init file)+chown "${PUID}:${PGID}" /app+# Change application data ownership to syncin if neededCURRENT_UID=$(stat -c '%u' /app/data)CURRENT_GID=$(stat -c '%g' /app/data)