Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

acl ch command is failing with the message – Please ensure you have OWNER-role access to this resource. But I can see that my email id already has owner access to the file. What needs to be done?

@cloudshell:~ (storage-labs-331702)$ gsutil acl ch -u AllUsers:R gs://storage-bucket-2021-1/Folder1/README-cloudshell.txtCommandException: Failed to set acl for gs://storage-bucket-2021-1/Folder1/README-cloudshell.txt. Please ensure you have OWNER-role access to this resource.
Israel Carrillob

I think this is because the bucket permissions are configured to Uniform instead of Fine-grained. If you change this access control you will be able to change the file permissions.

0 Answers

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?