Improve note on setting download policy (#1998)
This commit is contained in:
committed by
Harshavardhana
parent
cca8c10f33
commit
38652b168a
@@ -720,7 +720,8 @@ FLAGS:
|
||||
```
|
||||
|
||||
*Example: Show current anonymous bucket policy*
|
||||
Show current anonymous bucket policy for *mybucket/myphotos/2020/* sub-directory
|
||||
|
||||
Show current anonymous bucket policy for ``mybucket/myphotos/2020/`` sub-directory
|
||||
|
||||
```sh
|
||||
|
||||
@@ -730,7 +731,8 @@ Access permission for ‘play/mybucket/myphotos/2020/’ is ‘none’
|
||||
```
|
||||
|
||||
*Example : Set anonymous bucket policy to download only*
|
||||
Set anonymous bucket policy for *mybucket/myphotos/2020/* sub-directory and its objects to download only, Now your objects are publicly accessible at [https://play.minio.io:9000/mybucket/myphotos/2020/yourobjectname](https://play.minio.io:9000/mybucket/myphotos/2020/yourobjectname)
|
||||
|
||||
Set anonymous bucket policy for ``mybucket/myphotos/2020/`` sub-directory and its objects to ``download`` only. Now, objects under the sub-directory are publicly accessible. e.g ``mybucket/myphotos/2020/yourobjectname``is available at [https://play.minio.io:9000/mybucket/myphotos/2020/yourobjectname](https://play.minio.io:9000/mybucket/myphotos/2020/yourobjectname)
|
||||
|
||||
```sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user