From df77cbfb47683583bae474f5365592778edf996b Mon Sep 17 00:00:00 2001 From: xboard Date: Mon, 20 Apr 2026 01:39:24 +0800 Subject: [PATCH] fix(docker): re-apply www ownership to /www at entrypoint --- .docker/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.docker/entrypoint.sh b/.docker/entrypoint.sh index 7f0b4d2..d114edf 100644 --- a/.docker/entrypoint.sh +++ b/.docker/entrypoint.sh @@ -147,4 +147,5 @@ echo "[entrypoint] Starting services (caddy=${ENABLE_CADDY} web=${ENABLE_WEB} ho # Drop stale Octane/WorkerMan state files so the new master does not signal # PIDs left over from a previous container run (causes Swoole kill EPERM). rm -f /www/storage/logs/octane-server-state.json /www/storage/logs/xboard-ws-server.pid 2>/dev/null || true +chown -R www:www /www 2>/dev/null || true exec "$@"