... | @@ -17,7 +17,13 @@ The GCS default for access control is private. GCS does not allow for ACLs to pe |
... | @@ -17,7 +17,13 @@ The GCS default for access control is private. GCS does not allow for ACLs to pe |
|
|
|
|
|
Since we update files in `\latest` with every releases and files in `beta` during beta runs, we need to prevent GCS from marking those new files as private (breaking public access to the CDN).
|
|
Since we update files in `\latest` with every releases and files in `beta` during beta runs, we need to prevent GCS from marking those new files as private (breaking public access to the CDN).
|
|
|
|
|
|
The solution is to set the default ACL for the bucket once following the instructions in the gsutil documentation. The XML file should contain
|
|
The solution is to set the default ACL for the bucket once following the instructions in the `gsutil` documentation.
|
|
|
|
|
|
|
|
To set this either use
|
|
|
|
|
|
|
|
$ gsutil defacl set public-read gs://our-bucket
|
|
|
|
|
|
|
|
Or create a suitable XML file containing
|
|
|
|
|
|
<Entry>
|
|
<Entry>
|
|
<Scope type="AllUsers"/>
|
|
<Scope type="AllUsers"/>
|
... | | ... | |