Digital Marketing

How to set Google Cloud Storage bucket to Share Publicly by default

Sometimes you need your Google bucket to Share Publicly by default, so that you don't need to set the permission for each object individually.
gsutil setdefacl public-read gs://i88ca-bucket
Now every object uploaded to i88ca-bucket will automatically inherit public readability.
To set individual object
gsutil setacl public-read gs://i88ca-bucket/object

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux