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 <xiaolunwen@gmail.com>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>
This commit is contained in:
TheFox0x7
2025-11-27 22:45:25 +00:00
committed by Lunny Xiao
parent 016e068c60
commit f6d4b5fa4f

View File

@@ -104,5 +104,5 @@ func saveConfig() error {
if err != nil {
return err
}
return os.WriteFile(ymlPath, bs, 0o660)
return os.WriteFile(ymlPath, bs, 0o600)
}