Skip to content

Setting a gcs bucket to be public

Louis Bergelson edited this page Dec 23, 2015 · 2 revisions

In order to make all files in a gcs bucket public run:

gsutil -m acl set -R -a public-read gs://bucket

New files will remain private though. In order to set the default acls use:

gsutil defacl set public-read gs://bucket
Clone this wiki locally