From 9281bb64b91736f47ae7b602b6abaee01c802df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Tue, 3 Mar 2026 09:51:08 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[deploy]=20=EB=B0=B0=ED=8F=AC=20?= =?UTF-8?q?=EC=8B=9C=20.env=20=EA=B6=8C=ED=95=9C=20640=20=EB=B3=B4?= =?UTF-8?q?=EC=9E=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Production 배포 스크립트에 chmod 640 추가 - vi 편집으로 인한 .env 권한 변경(600) 방지 - 2026-03-03 장애 재발 방지 (PHP-FPM이 .env 읽기 실패 → 500) Co-Authored-By: Claude Opus 4.6 --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 498102eb..9ab7c29d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,6 +43,7 @@ pipeline { mkdir -p bootstrap/cache storage/framework/{views,cache/data,sessions} storage/logs && sudo chown -R www-data:webservice storage/logs && ln -sfn /home/webservice/mng/shared/.env .env && + sudo chmod 640 /home/webservice/mng/shared/.env && ln -sfn /home/webservice/mng/shared/storage/app storage/app && composer install --no-dev --optimize-autoloader --no-interaction && npm install --prefer-offline &&