How to set access permissions of google cloud storage bucket folder -


how set access permissions entire folder in storage bucket? example; have 2 folders (containing many subfolders/objects) in single bucket (let's call them folder 'a' , 'b') , 4 members in project team. 4 members can have read/edit access folder 2 of members allowed have access folder 'b'. there simple way set these permissions each folder? there hundreds/thousands of files within each folder , time consuming set permissions each individual file. help.

it's poorly documented, search "folder" in gsutil acl ch manpage:

grant user specified canonical id read access objects in example-bucket begin folder/:

gsutil acl ch -r \   -u 84fac329bcesample777d5d22b8sample785ac2sample2dfcf7c4adf34da46:r \   gs://example-bucket/folder/ 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -