Commit 00e026ac authored by Steven Allen's avatar Steven Allen

fix: remove group permissions

There's no reason to give the group access to these files by default.
parent 5527ea02
......@@ -35,12 +35,12 @@ func ReadConfigFile(filename string, cfg interface{}) error {
// WriteConfigFile writes the config from `cfg` into `filename`.
func WriteConfigFile(filename string, cfg interface{}) error {
err := os.MkdirAll(filepath.Dir(filename), 0775)
err := os.MkdirAll(filepath.Dir(filename), 0755)
if err != nil {
return err
}
f, err := atomicfile.New(filename, 0660)
f, err := atomicfile.New(filename, 0600)
if err != nil {
return err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment