Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Cannot convert in public a file uploaded to a bucket

Feels like a stupid question indeed 🙂 

I’m unable to add allUsers to a file permission set while editing a bucket. When I do so, system returns "Unknown user: allUsers"

I’ve verified the spelling, and followed up Google’s documentation about this (https://cloud.google.com/storage/docs/access-control/making-data-public) but I’m not able to make it. I’ve also read about the different permission levels to control with granular permissions or bucket level ones, but it’s not the case here.

Any advice?

Tuan LE

What is the Access Control mode of your bucket? "Fine-grained" or "Uniform"?

Nicolas Orriach Legagneux

It was fine-grained

1 Answers

I found out that the way the ACG course describes it is no longer accurate.

Now instead of selecting the entity "User" you need to use the entity "Public" which by default includes the allUsers.

From CLI it can be done straightforward as well.

Kiril Zhelyazkov

Thanks!

Rodrigo Sandoval

Awesome, I came for the same!

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?