Now donut supports bucket ACL's, bringing in this support for dl.minio.io

This commit is contained in:
Harshavardhana
2015-04-27 02:04:05 -07:00
parent f5a51ae1bb
commit c99d96dbc2
8 changed files with 165 additions and 22 deletions

View File

@@ -133,7 +133,7 @@ func (d disk) MakeFile(filename string) (*os.File, error) {
if err := os.MkdirAll(path.Dir(filePath), 0700); err != nil {
return nil, iodine.New(err, nil)
}
dataFile, err := os.OpenFile(filePath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0600)
dataFile, err := os.OpenFile(filePath, os.O_WRONLY|os.O_CREATE, 0600)
if err != nil {
return nil, iodine.New(err, nil)
}