Google Cloud Storage: bulk edit ACLs -


we in process of moving our servers google cloud compute engine , starting cloud storage cdn option. uploaded 1,000 files through developer console problem object permissions users set @ none. can't find way edit permissions give users reader access. missing something?

you can use gsutil acl ch command follows:

gsutil -m acl ch -r -g all:r gs://bucket1 gs://bucket2/object ... 

where:

  • -m sets multi-threaded mode, faster large number of objects
  • -r recursively processes bucket , of contents
  • -g all:r grants users read-only access

see acl documentation more details.

you can use google cloud shell console via web browser if need run single command via gsutil, comes preinstalled in console vm.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -