Skip to content

S3 Bucket Object Ownership "The bucket ownership controls were not found"

0

I am currently unable to edit the object ownership on my S3 bucket. I noticed this as I was uploading a file to the bucket, I was unable to set permissions on the file. I just uploaded a file last night so this just happened in the past 24 hours. When navigating to the bucket's permissions tab, under Object Ownership, it has an error that says "The bucket ownership controls were not found" and the edit button is greyed out.

asked 10 months ago472 views
6 Answers
1

Same here - something is seriously wrong with S3 right now:

Unknown Error An unexpected error occurred. Try again later. If the error persists, contact AWS Support for assistance . API response The bucket ownership controls were not found

answered 10 months ago
1

The AI generated answer is wrong - there is technical error they've been ignoring for at least 7 hours since your post was made - this is a serious F*up.

answered 10 months ago
1

In my case it's every bucket created before 2022.

answered 10 months ago
0

Best to speak with AWS Support. Sometimes AWS make backend changes that can cause issues. For example, recently, all our S3 buckets in ap-southeast-2 region have created date set November 2024.

EXPERT
answered 10 months ago
0

Object Ownership back to normal today on pre-2022 buckets. That's like a 24 hour outage not posted anywhere, lol.

answered 10 months ago
-2

It sounds like you're experiencing an issue with the Object Ownership settings on your S3 bucket. This situation can occur if there's a problem retrieving the bucket's ownership controls.

To address this issue, you can try the following steps:

  1. Refresh the S3 console page to see if the error persists.

  2. Check if you have the necessary permissions to view and edit the Object Ownership settings. You need the s3:GetBucketOwnershipControls permission to view the settings and s3:PutBucketOwnershipControls to edit them.

  3. If you have the appropriate permissions and the issue persists, you can try to set the Object Ownership controls using the AWS CLI or SDK. For example, you can use the AWS CLI to apply the Bucket owner enforced setting with the following command:

    aws s3api put-bucket-ownership-controls --bucket your-bucket-name --ownership-controls Rules=[{ObjectOwnership=BucketOwnerEnforced}]

    Replace "your-bucket-name" with the actual name of your bucket.

  4. If you're still unable to set the Object Ownership controls, it's possible that there's an underlying issue with the bucket's configuration. In this case, you may need to contact AWS Support for further assistance.

Remember, when the Bucket owner enforced setting is applied, ACLs are disabled, and all objects in the bucket are owned by the bucket owner. This setting simplifies access management but also means you won't be able to set individual object permissions during upload.

If you need to grant specific permissions, you should use bucket policies instead of ACLs when the Bucket owner enforced setting is active.
Sources
Controlling ownership of objects and disabling ACLs for your bucket - Amazon Simple Storage Service
Viewing the Object Ownership setting for an S3 bucket - Amazon Simple Storage Service
Troubleshooting - Amazon Simple Storage Service

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.