mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
Minio config directory should be 0700 not os.ModeDir
This commit is contained in:
@@ -50,7 +50,7 @@ func (c *Config) SetupConfig() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
confPath := path.Join(u.HomeDir, ".minio")
|
confPath := path.Join(u.HomeDir, ".minio")
|
||||||
if err := os.MkdirAll(confPath, os.ModeDir); err != nil {
|
if err := os.MkdirAll(confPath, 0700); err != nil {
|
||||||
return iodine.New(err, nil)
|
return iodine.New(err, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user