1
0
mirror of https://github.com/minio/mc.git synced 2025-11-13 12:22:45 +03:00
Files
mc/docs/access.md
2015-06-10 18:34:46 -07:00

25 lines
681 B
Markdown

#### access
```go
Name:
mc access - Set access permissions
USAGE:
mc access PERMISSION TARGET [TARGET...]
EXAMPLES:
1. Set bucket to "private" on Amazon S3 object storage.
$ mc access private https://s3.amazonaws.com/burningman2011
2. Set bucket to "public" on Amazon S3 object storage.
$ mc access public https://s3.amazonaws.com/shared
3. Set bucket to "authenticated" on Amazon S3 object storage to provide read access to IAM Authenticated Users group.
$ mc access authenticated https://s3.amazonaws.com/shared-authenticated
4. Set folder to world readwrite (chmod 777) on local filesystem.
$ mc access public /shared/Music
```