mirror of
https://gitea.com/gitea/tea.git
synced 2025-12-08 07:24:02 +01:00
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:
@@ -104,5 +104,5 @@ func saveConfig() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return os.WriteFile(ymlPath, bs, 0o660)
|
||||
return os.WriteFile(ymlPath, bs, 0o600)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user