From f6d4b5fa4fdf4ebb777cc465f9c3ec30c8024548 Mon Sep 17 00:00:00 2001 From: TheFox0x7 Date: Thu, 27 Nov 2025 22:45:25 +0000 Subject: [PATCH] remove group readwrite permission (#856) closes: https://gitea.com/gitea/tea/issues/855 Reviewed-on: https://gitea.com/gitea/tea/pulls/856 Reviewed-by: Lunny Xiao Co-authored-by: TheFox0x7 Co-committed-by: TheFox0x7 --- modules/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/config.go b/modules/config/config.go index 70443ca..30b59f3 100644 --- a/modules/config/config.go +++ b/modules/config/config.go @@ -104,5 +104,5 @@ func saveConfig() error { if err != nil { return err } - return os.WriteFile(ymlPath, bs, 0o660) + return os.WriteFile(ymlPath, bs, 0o600) }