From 38652b168a4e9c4414b96d442997a396ae667ff3 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Sun, 5 Feb 2017 00:23:01 +0530 Subject: [PATCH] Improve note on setting download policy (#1998) --- docs/minio-client-complete-guide.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/minio-client-complete-guide.md b/docs/minio-client-complete-guide.md index 9c129ca6..bbb13e90 100644 --- a/docs/minio-client-complete-guide.md +++ b/docs/minio-client-complete-guide.md @@ -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