Lucianno Ramalho
Lucianno Ramalho

Reputation: 53

Can't turn-off uniform bucket-level

I want to change the bucket level to detailed/not uniform, and after I execute the comand gsutil uniformbucketlevelaccess set off gs://mybucket, I recieve the message below:

Disabling Uniform bucket-level access for gs://mybucket... BadRequestException: 400 Disabling uniform bucket-level access for bucket "mybucket" is not allowed after 90 days

Upvotes: 0

Views: 1169

Answers (1)

Carlos S.
Carlos S.

Reputation: 85

After you switch to uniform bucket level access, and 90 days have passed since that action, it is no longer reversible, as the note in their docs specifies. Quoting the docs:

Using this feature disables ACLs for all Cloud Storage resources: access to Cloud Storage resources then is granted exclusively through IAM. After you enable uniform bucket-level access, you can reverse your decision for 90 days.

If you want to use fine-grained access levels (ACLs), currently the only way is to create another bucket, and migrate the contents to it.

Upvotes: 1

Related Questions