Apr 30, 2018

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