gsutil acl ch -u user:alex@example.com:R gs://my-bucket/report.pdf

Category: Google Cloud & Workspace

gsutil acl ch -u user:alex@example.com:R gs://my-bucket/report.pdf

Grant a user read access to an object

Applies a legacy ACL granting the user alex@example.com read permission (R) on the object; W means write and FC full control. ACLs are the older permission model, while IAM roles are preferred for buckets and projects. Remove the grant by repeating the command with -d in place of -u.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.