整改基线:封存无停机续期候选及远程回归证据

This commit is contained in:
xuans committed 2026-09-18 00:33:42 +08:00
1 parent de5a34e10f
commit 4dd6011dda
12 files changed
+879 -110

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ def main():
or len(target.parts) < 5 or target.parts[1:3] != ("var", "tmp")
or not target.parts[3].startswith("smail-review-")):
raise ValueError("上传路径必须位于项目审查临时目录")
command = "install -d -m 0755 " + shlex.quote(str(target.parent))
command = "install -d -m 0700 " + shlex.quote(str(target.parent))
_, output, error = client.exec_command(command)
if output.channel.recv_exit_status() != 0:
raise RuntimeError(error.read().decode("utf-8", "replace"))