Fix regression in acme.json secure mode

This commit is contained in:
Emile Vauge 2016-09-30 15:06:12 +02:00
parent 84cb9f15a4
commit a96f483d56
No known key found for this signature in database
GPG key ID: D808B4C167352E59

View file

@ -76,7 +76,7 @@ func (t *localTransaction) Commit(object cluster.Object) error {
if err != nil {
return err
}
err = ioutil.WriteFile(t.file, data, 0644)
err = ioutil.WriteFile(t.file, data, 0600)
if err != nil {
return err
}