Browse Source

Streamstores don't need to be executable

launch
Sarah Jamie Lewis 3 months ago
parent
commit
583ad66ad3
  1. 2
      storage/v1/stream_store.go

2
storage/v1/stream_store.go

@ -94,7 +94,7 @@ func (ss *streamStore) updateFile() error {
return err
}
ioutil.WriteFile(path.Join(ss.storeDirectory, fmt.Sprintf("%s.%d", ss.filenameBase, 0)), encryptedMsgs, 0700)
ioutil.WriteFile(path.Join(ss.storeDirectory, fmt.Sprintf("%s.%d", ss.filenameBase, 0)), encryptedMsgs, 0600)
return nil
}

Loading…
Cancel
Save