Improve note on setting download policy (#1998)

This commit is contained in:
Krishnan Parthasarathi
2017-02-04 10:53:01 -08:00
committed by Harshavardhana
parent cca8c10f33
commit 38652b168a
+4 -2
View File
@@ -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