diff options
author | Matthew Holt <[email protected]> | 2021-04-01 12:12:28 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2021-04-01 12:12:28 -0600 |
commit | 7da9241fd7d1d6e9b6ce54a0557b5d861f6c8084 (patch) | |
tree | cb6b716074c421c9f2105d778111af27309114f6 /caddy.go | |
parent | e68dbe9cf8cfd06d9205e4346412c90691f78e60 (diff) | |
download | caddy-7da9241fd7d1d6e9b6ce54a0557b5d861f6c8084.tar.gz caddy-7da9241fd7d1d6e9b6ce54a0557b5d861f6c8084.zip |
Use 600 instead of 644 for UUID file
Are you happy, linter?
Diffstat (limited to 'caddy.go')
-rw-r--r-- | caddy.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -675,7 +675,7 @@ func InstanceID() (uuid.UUID, error) { if err != nil { return uuid, err } - err = ioutil.WriteFile(uuidFilePath, []byte(uuid.String()), 0644) + err = ioutil.WriteFile(uuidFilePath, []byte(uuid.String()), 0600) return uuid, err } else if err != nil { return [16]byte{}, err |