Commit Graph
3 Commits
Author SHA1 Message Date
Harshavardhana 1e1516c968 stat: Print proper error messages when bucket name is empty.
Handle cases for situations for all commands where target bucket
name is not specified, indicate proper errors in this situation.

Fixes #1629
2016-03-30 18:46:20 -07:00
Harshavardhana f4e8352f5a access: Access policy command implemented.
This patch implements as decided..

To set a bucket policy.
```
mc access readonly s3/<bucket>
mc access readwrite s3/<bucket>
mc access writeonly s3/<bucket>
mc access none s3/<bucket>
```

To get a bucket policy.
```
mc access s3/<bucket>
```
2016-03-27 19:49:54 -07:00
Harshavardhana fe5b2f97e3 fs/s3: move the code for fs and s3 out to the top-level.
Now the interface moves to the top level - fixes #1604
2016-02-16 11:27:42 -08:00