Skip to content

Commit

Permalink
update permissions to 0600 (#33199)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed May 22, 2024
1 parent 2e3a0f7 commit 22d54f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func SetConfigVariable(key string, value string) {
}

// Write yaml file
err = os.WriteFile(configFilePth, newData, os.ModePerm)
err = os.WriteFile(configFilePth, newData, 0600)
if err != nil {
fmt.Printf("Error writing file: %v", err)
return
Expand Down

0 comments on commit 22d54f2

Please sign in to comment.