Set Google Cloud Storage Default ACL
Posted on 2015/01/01
Changing the default ACL of Google Cloud Storage can be a bit confusing sometimes.
After quite a bit of Googling (I know, I know) I found the solution.
Google is moving more and more interactions with their Cloud to the gcloud tool. But part of this is the older gsutil tool. That allows you to control cloud storage.
The default ACL is simply the permissions that will be given to objects that have not had any explicity defined. Great for just a image CDN etc.
So to set the default acl first install gsutil, see https://cloud.google.com/storage/docs/gsutil for details.
Then run:
gsutil setdefacl public-read gs://{your-bucket-name}
be sure to replace your bucket name. And that's it, default ACL set ! Enjoy.
What's currently keeping me busy

Testing and keeping websites safe

Tech/product of new incubating startups

Advocate and educate on the Google Cloud

Easy prescribed book management

Loadshedding being constantly updated and watched

Secret management for PAAS

National microchip database

Youtube channel of edited meetup talks

Gaming Youtube Channel