From 892b3ca219e3c8c9594d7cfd697e4fde1d455638 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 13 Jan 2026 21:11:00 +0100 Subject: [PATCH] fix account.conf permission https://github.com/acmesh-official/acme.sh/issues/6708#issuecomment-3745737079 --- acme.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acme.sh b/acme.sh index 1a3763c3..7d9ee2d2 100755 --- a/acme.sh +++ b/acme.sh @@ -2358,6 +2358,7 @@ _setopt() { fi if [ ! -f "$__conf" ]; then touch "$__conf" + chmod 600 "$__conf" fi if [ -n "$(_tail_c 1 <"$__conf")" ]; then echo >>"$__conf" @@ -6671,6 +6672,7 @@ _initconf() { #NO_TIMESTAMP=1 " >"$ACCOUNT_CONF_PATH" + chmod 600 "$ACCOUNT_CONF_PATH" fi }