diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index ef75530..1615471 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -68,6 +68,7 @@ set_cred() { # 名 值 —— 已有则替换;没有则插到 refs: 下(无 } set_cred MARKMAG_TEAM_KEY "$KEY" if [ -n "$TOOL" ]; then set_cred MARKMAG_TOOL_TOKEN "$TOOL"; fi +chmod 600 "$CRED" # DSH 凭据插件硬校验 owner-only;awk 重建文件会把权限变 644 导致 DSH 拒启(海英机实锤) if grep -q 'MARKMAG_TEAM_KEY: sk-mem-' "$CRED"; then echo ""