A partner account uploads objects into your bucket, but your own admins get `403 Forbidden` reading them.
IntermediateTroubleshootingS3, EBS and EFS
Answer
Likely causes → Object Ownership is ObjectWriter (the legacy setting), so the uploading account owns the objects and the bucket policy cannot grant access to them. This happens when the uploader did not set bucket-owner-full-control.
Diagnose →
aws s3api get-bucket-ownership-controls --bucket shared-ingest
aws s3api get-object-acl --bucket shared-ingest --key incoming/file.csv
Fix →
- Turn on Bucket owner enforced (ACLs disabled):
aws s3api put-bucket-ownership-controls --bucket shared-ingest --ownership-controls 'Rules=[{ObjectOwnership=BucketOwnerEnforced}]' - That takes ownership of all objects, including existing ones. Re-check the bucket policy grants
Prevent → Use BucketOwnerEnforced everywhere (the default for new buckets since 2023), and control access only through policies.
More on S3, EBS and EFS
`BucketAlreadyExists: The requested bucket name is not available. The bucket namespace is shared by all users of the system.`Beginner`PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint.`Beginner`aws s3 cp` gets `An error occurred (AccessDenied) when calling the GetObject operation` but the IAM policy allows `s3:GetObject` and the bucket policy is fine.IntermediateAn S3 static website endpoint returns `403 Forbidden` with `Code: AccessDenied`.IntermediateHigh-throughput writes get `503 SlowDown: Please reduce your request rate.`Intermediate`BucketNotEmpty: The bucket you tried to delete is not empty. You must delete all versions in the bucket.` even after `aws s3 rm --recursive`.Beginner