Commit 518edd3c authored by Matthew Holt's avatar Matthew Holt

Corrected permissions for UUID file

parent b019501b
......@@ -298,7 +298,7 @@ func initTelemetry() {
newUUID := func() uuid.UUID {
id := uuid.New()
err := ioutil.WriteFile(uuidFilename, []byte(id.String()), 0644) // human-readable this way
err := ioutil.WriteFile(uuidFilename, []byte(id.String()), 0600) // human-readable as a string
if err != nil {
log.Printf("[ERROR] Persisting instance UUID: %v", 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