We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c9858b commit f0a5ec8Copy full SHA for f0a5ec8
drivers.go
@@ -80,7 +80,7 @@ func init() {
80
uid = uuid.New()
81
// if we fail to create the dir or write the file, just ignore the error
82
// and use the fresh UUID
83
- if err = os.MkdirAll(filepath.Dir(fp), 0o600); err == nil {
+ if err = os.MkdirAll(filepath.Dir(fp), 0o700); err == nil {
84
if data, err = uid.MarshalBinary(); err == nil {
85
os.WriteFile(fp, data, 0o600)
86
}
0 commit comments