From 1b7e203472d58a08d22ed553453de5f8fc7c6aa8 Mon Sep 17 00:00:00 2001 From: wikiboss Date: Sat, 12 Sep 2026 17:01:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20deploy.sh=20=E7=BB=B4=E6=8A=A4=20runtime?= =?UTF-8?q?=20=E7=9B=AE=E5=BD=95=E7=9A=84=20www=20=E5=B1=9E=E4=B8=BB?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 0e5d8ce..cf91055 100644 --- a/deploy.sh +++ b/deploy.sh @@ -37,7 +37,8 @@ if [ -f "application/database.php.deploy_bak" ]; then rm -f application/database.php.deploy_bak fi -# 维护关键目录权限 +# 维护关键目录权限与属主 +chown -R www:www runtime public/uploads 2>/dev/null || true chmod -R 777 runtime 2>/dev/null || true chmod -R 775 public/uploads 2>/dev/null || true