The deployed folder keeps 755: mktemp's 700 was copied onto it
Build / Desktop, server and tools (push) Successful in 29s
Build / Desktop, server and tools (push) Successful in 29s
rsync -a carried the staging folder's mode to /var/www/meweb.arasaka.software, and the meweb user could no longer enter it (status=200/CHDIR). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
This commit is contained in:
1 parent
0d99c552eb
commit
16a1cecaae
1 file changed
+1
@@ -6,6 +6,7 @@ backups=/var/backups/meweb.arasaka.software
|
||||
health=http://127.0.0.1:5480/api/info
|
||||
stamp=$(date -u +%Y%m%d%H%M%S)
|
||||
stage=$(mktemp -d)
|
||||
chmod 755 "$stage"
|
||||
trap 'rm -rf "$stage"' EXIT
|
||||
|
||||
tar -xzf "$archive" -C "$stage"
|
||||
|
||||
Reference in new issue
Block a user