Difference between revisions of "Gsutil acl ch"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
=== Ch Examples ===
 
=== Ch Examples ===
 
* <code>gsutil acl ch -u AllUsers:R gs://example-bucket/example-object</code>
 
* <code>gsutil acl ch -u AllUsers:R gs://example-bucket/example-object</code>
 +
 +
Grant anyone on the internet WRITE access to the bucket example-bucket:
 +
<code> gsutil acl ch -u AllUsers:W gs://example-bucket</code>
  
 
== See also ==
 
== See also ==

Revision as of 09:10, 1 August 2022

[1]

gsutil acl ch 

Ch Examples

  • gsutil acl ch -u AllUsers:R gs://example-bucket/example-object

Grant anyone on the internet WRITE access to the bucket example-bucket: gsutil acl ch -u AllUsers:W gs://example-bucket

See also

  • https://cloud.google.com/storage/docs/gsutil/commands/acl
  • Advertising: