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 "$@"