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
Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...