{"id":7167,"date":"2026-09-20T18:51:15","date_gmt":"2026-09-20T18:51:15","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=7167"},"modified":"2026-09-21T15:31:46","modified_gmt":"2026-09-21T15:31:46","slug":"creating-a-bucket-giving-permissions-using-cloud-console","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/","title":{"rendered":"Creating a bucket &#038; giving permissions using cloud console"},"content":{"rendered":"\r\n<h1>Creating a Bucket and Setting Permissions With gsutil<\/h1>\r\n<p>This covers creating a Cloud Storage bucket and managing basic object level permissions entirely from the command line, using gsutil, the tool included with the Google Cloud SDK. Everything here has a console equivalent, but the command line version is what you want once you are scripting a setup rather than clicking through it by hand.<\/p>\r\n<p>Object level ACL commands, the kind used partway through this guide, only work on a bucket still using Fine Grained access control. If your bucket uses Uniform access control, the current default for new buckets, these specific commands will not apply, and permissions need to be managed through IAM instead.<\/p>\r\n<h2>Step 1: Activate Cloud Shell<\/h2>\r\n\r\n\r\n\r\n<p>Click on Activate Cloud Shell<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7168\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg\" alt=\"\" width=\"366\" height=\"131\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg 472w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19-300x107.jpg 300w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 2: Create a Bucket<\/h2>\r\n<p>gsutil mb -l LOCATION gs:\/\/BUCKET_NAME<\/p>\r\n<p>Replace LOCATION and BUCKET_NAME with your own values, and make sure there is no space anywhere inside the gs colon slash slash URL itself.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7169\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-16.jpg\" alt=\"\" width=\"933\" height=\"74\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-16.jpg 915w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-16-300x24.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-16-768x61.jpg 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Give the Authorization if asked.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7187\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-20.jpg\" alt=\"\" width=\"477\" height=\"167\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-20.jpg 900w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-20-300x105.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-20-768x269.jpg 768w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/figure>\r\n\r\n\r\n\r\n<h2>Step 3: List Your Buckets<\/h2>\r\n<p>gsutil ls gs:\/\/<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7171\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/4-18.jpg\" alt=\"\" width=\"863\" height=\"192\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/4-18.jpg 663w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/4-18-300x67.jpg 300w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 4: List a Bucket&#8217;s Contents<\/h2>\r\n<p>gsutil ls gs:\/\/BUCKET_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7172\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-15.jpg\" alt=\"\" width=\"743\" height=\"99\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-15.jpg 802w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-15-300x40.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-15-768x102.jpg 768w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 5: List Contents With Details<\/h2>\r\n<p>gsutil ls -l gs:\/\/BUCKET_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7173\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-15.jpg\" alt=\"\" width=\"786\" height=\"118\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-15.jpg 831w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-15-300x45.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-15-768x116.jpg 768w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 6: Show Details for One File<\/h2>\r\n<p>gsutil ls -l gs:\/\/BUCKET_NAME\/FILE_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7174\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-14.jpg\" alt=\"\" width=\"892\" height=\"80\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-14.jpg 924w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-14-300x27.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-14-768x69.jpg 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 7: Remove a Single File<\/h2>\r\n<p>gsutil rm gs:\/\/BUCKET_NAME\/FILE_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7178\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-14.jpg\" alt=\"\" width=\"1036\" height=\"124\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-14.jpg 895w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-14-300x36.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-14-768x92.jpg 768w\" sizes=\"auto, (max-width: 1036px) 100vw, 1036px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 8: Grant Read Permission to a Specific User<\/h2>\r\n<p>The acl ch command changes an object&#8217;s ACL. The u flag targets a specific user by email, and R grants read access, letting that person view or download the file without any other permissions.<\/p>\r\n<p>gsutil acl ch -u user@example.com:R gs:\/\/BUCKET_NAME\/FILE_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7179\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/10-9-1024x63.jpg\" alt=\"\" width=\"951\" height=\"58\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/10-9-1024x63.jpg 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/10-9-300x18.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/10-9-768x47.jpg 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/10-9.jpg 1072w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 9: Grant Owner Permission to a Specific User<\/h2>\r\n<p>The O value grants full ownership of the object, including the ability to change its permissions further or delete it. Grant this only to someone who genuinely needs that level of control, and never to AllUsers, which would mean granting it to anyone on the internet with no restriction at all.<\/p>\r\n<p>gsutil acl ch -u user@example.com:O gs:\/\/BUCKET_NAME\/FILE_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7181\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/12-9-1024x83.jpg\" alt=\"\" width=\"1074\" height=\"87\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/12-9-1024x83.jpg 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/12-9-300x24.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/12-9-768x62.jpg 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/12-9.jpg 1074w\" sizes=\"auto, (max-width: 1074px) 100vw, 1074px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 10: Remove a User&#8217;s Permission Entirely<\/h2>\r\n<p>gsutil acl ch -d user@example.com gs:\/\/BUCKET_NAME\/FILE_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7183\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/15-7-1024x68.jpg\" alt=\"\" width=\"1160\" height=\"76\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/15-7-1024x68.jpg 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/15-7-300x20.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/15-7-768x51.jpg 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/15-7.jpg 1049w\" sizes=\"auto, (max-width: 1160px) 100vw, 1160px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 11: Remove Every File Under a Folder Like Path<\/h2>\r\n<p>The r flag makes this recursive, removing every object under the given prefix, which is different from removing a single file as shown earlier.<\/p>\r\n<p>gsutil rm -r gs:\/\/BUCKET_NAME\/FOLDER_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7191\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/17-7.jpg\" alt=\"\" width=\"882\" height=\"73\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/17-7.jpg 930w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/17-7-300x25.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/17-7-768x64.jpg 768w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 12: Remove a Bucket<\/h2>\r\n<p>gsutil rm -r gs:\/\/BUCKET_NAME<\/p>\r\n<p>This removes every object in the bucket, then the bucket itself.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7192\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/18-3.jpg\" alt=\"\" width=\"796\" height=\"154\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/18-3.jpg 828w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/18-3-300x58.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/18-3-768x149.jpg 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2>Step 13: Create a Bucket in a Different Project<\/h2>\r\n<p>gsutil mb -p PROJECT_NAME -c STORAGE_CLASS -l LOCATION gs:\/\/BUCKET_NAME<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7193\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/19-3-1024x55.jpg\" alt=\"\" width=\"1254\" height=\"67\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/19-3-1024x55.jpg 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/19-3-300x16.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/19-3-768x41.jpg 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/19-3-1200x64.jpg 1200w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/19-3.jpg 1293w\" sizes=\"auto, (max-width: 1254px) 100vw, 1254px\" \/><\/figure>\r\n<\/div>\r\n<h2>Common Mistakes to Avoid<\/h2>\r\n<ul>\r\n<li>Granting a permission to AllUsers without understanding what it means. It is not a placeholder or a generic default, it means every person on the internet, with no restriction.<\/li>\r\n<li>Copying a command with a stray space inside the gs colon slash slash URL. It breaks the command rather than doing nothing.<\/li>\r\n<li>Trying to run an ACL command on a bucket using Uniform access control. These commands are specific to Fine Grained access and will not apply.<\/li>\r\n<li>Using -r to remove a single file. It is meant for a folder like path or an entire bucket, not one object.<\/li>\r\n<\/ul>\r\n<p>That covers creating a bucket and managing object permissions with gsutil, and the one command worth never running the way the original showed it. To go further, explore <a href=\"https:\/\/prwatech.in\/gcp-training-institutes-in-bangalore\/\"><strong><b>Prwatech&#8217;s Google Cloud training<\/b><\/strong>\u00a0program<\/a>, which includes placement assistance.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Creating a Bucket and Setting Permissions With gsutil This covers creating a Cloud Storage bucket and managing basic object level permissions entirely from the command line, using gsutil, the tool included with the Google Cloud SDK. Everything here has a console equivalent, but the command line version is what you want once you are scripting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1630,1],"tags":[655,656,605,641,699,700,705,642,684,611,686],"class_list":["post-7167","post","type-post","status-publish","format-standard","hentry","category-cloud-storage","category-google-cloud-platform","tag-bucket","tag-cloud-console","tag-gcp","tag-gcp-bucket","tag-gcp-certification","tag-gcp-cloud-console","tag-gcp-storage","tag-google-cloud-bucket","tag-google-cloud-console","tag-google-cloud-platform","tag-google-cloud-storage"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a Bucket and Setting Permissions With gsutil - Prwatech<\/title>\n<meta name=\"description\" content=\"Create a bucket and manage object permissions with gsutil, corrected for a command that would have exposed a file to the entire internet.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Bucket and Setting Permissions With gsutil - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Create a bucket and manage object permissions with gsutil, corrected for a command that would have exposed a file to the entire internet.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-20T18:51:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-21T15:31:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"472\" \/>\n\t<meta property=\"og:image:height\" content=\"169\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/\",\"url\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/\",\"name\":\"Creating a Bucket and Setting Permissions With gsutil - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg\",\"datePublished\":\"2026-09-20T18:51:15+00:00\",\"dateModified\":\"2026-09-21T15:31:46+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Create a bucket and manage object permissions with gsutil, corrected for a command that would have exposed a file to the entire internet.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg\",\"width\":472,\"height\":169},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a bucket &#038; giving permissions using cloud console\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Bucket and Setting Permissions With gsutil - Prwatech","description":"Create a bucket and manage object permissions with gsutil, corrected for a command that would have exposed a file to the entire internet.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/","og_locale":"en_US","og_type":"article","og_title":"Creating a Bucket and Setting Permissions With gsutil - Prwatech","og_description":"Create a bucket and manage object permissions with gsutil, corrected for a command that would have exposed a file to the entire internet.","og_url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2026-09-20T18:51:15+00:00","article_modified_time":"2026-09-21T15:31:46+00:00","og_image":[{"width":472,"height":169,"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg","type":"image\/jpeg"}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/","url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/","name":"Creating a Bucket and Setting Permissions With gsutil - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg","datePublished":"2026-09-20T18:51:15+00:00","dateModified":"2026-09-21T15:31:46+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Create a bucket and manage object permissions with gsutil, corrected for a command that would have exposed a file to the entire internet.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-19.jpg","width":472,"height":169},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/creating-a-bucket-giving-permissions-using-cloud-console\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Creating a bucket &#038; giving permissions using cloud console"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=7167"}],"version-history":[{"count":15,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7167\/revisions"}],"predecessor-version":[{"id":11827,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7167\/revisions\/11827"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=7167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=7167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=7167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}