Minio config directory should be 0700 not os.ModeDir

master
Harshavardhana 10 years ago
parent 4ea186729a
commit 2de81c8a3c
  1. 2
      pkg/api/config/config.go

@ -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)
} }

Loading…
Cancel
Save