From 3ce93149d53f4910605ad8d1856af4941dafe9d6 Mon Sep 17 00:00:00 2001 From: gahusb Date: Mon, 6 Apr 2026 21:38:03 +0900 Subject: [PATCH] =?UTF-8?q?fix(deployer):=20rsync=20=ED=83=80=EC=9E=84?= =?UTF-8?q?=EC=8A=A4=ED=83=AC=ED=94=84=20=EB=B3=B4=EC=A1=B4=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=20+=20non-critical=20=EC=97=90=EB=9F=AC=20=ED=97=88?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -t 플래그 제거 (Operation not permitted 방지), exit code 23 허용. Co-Authored-By: Claude Opus 4.6 --- scripts/deploy-nas.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/deploy-nas.sh b/scripts/deploy-nas.sh index 4e86f33..1f41ba5 100644 --- a/scripts/deploy-nas.sh +++ b/scripts/deploy-nas.sh @@ -30,14 +30,14 @@ cd "$SRC" # 레포에서 운영으로 반영할 항목들만 복사/동기화 (필요한 것만 적기) # backend, travel-proxy, deployer, nginx, scripts, docker-compose.yml, .env 등 -RSYNC_OPTS="-rlpt --delete --no-owner --no-group --exclude .git --exclude __pycache__ --exclude *.pyc --exclude data/" +RSYNC_OPTS="-rl --delete --no-owner --no-group --exclude .git --exclude __pycache__ --exclude *.pyc --exclude data/" for dir in backend travel-proxy deployer stock-lab music-lab blog-lab realestate-lab nginx scripts; do - rsync $RSYNC_OPTS "$SRC/$dir/" "$DST/$dir/" + rsync $RSYNC_OPTS "$SRC/$dir/" "$DST/$dir/" || [ $? -eq 23 ] && true done # compose 파일만 동기화 (.env는 절대 동기화하지 않음 — 운영 시크릿 보호) -rsync -lpt --no-owner --no-group "$SRC/docker-compose.yml" "$DST/docker-compose.yml" +rsync -rl --no-owner --no-group "$SRC/docker-compose.yml" "$DST/docker-compose.yml" || [ $? -eq 23 ] && true # 파일 권한 설정 — bgg8988:users 755 DEPLOY_USER="bgg8988"