From 742a1736972eda3c7c78ffb00b88bc61686df1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=9D=E4=BB=A3=E5=B0=BE?= Date: Thu, 19 Mar 2026 14:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20hy2.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hy2.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hy2.sh b/hy2.sh index ac59123..b308c31 100644 --- a/hy2.sh +++ b/hy2.sh @@ -251,7 +251,8 @@ masquerade: rewriteHost: true EOF - chmod 600 "${CONFIG_FILE}" + chown root:root "${CONFIG_FILE}" + chmod 644 "${CONFIG_FILE}" green "配置已写入 ${CONFIG_FILE}" }