Skip to content

aws_s3: Don't set ACL by default since ACLs are disabled by default in S3#4372

Open
ttreptow wants to merge 1 commit intoredpanda-data:mainfrom
ttreptow:remove-default-acl
Open

aws_s3: Don't set ACL by default since ACLs are disabled by default in S3#4372
ttreptow wants to merge 1 commit intoredpanda-data:mainfrom
ttreptow:remove-default-acl

Conversation

@ttreptow
Copy link
Copy Markdown
Contributor

@ttreptow ttreptow commented Apr 30, 2026

Setting an ACL throws an error when uploading to a bucket with ACLs disabled (default since 2023) when the bucket is in another account. The former default 'private' is accepted by buckets in the same account but is a no-op.

This change should not affect cases where users are writing to a bucket with ACLs enabled, since the default ACL applied by AWS is 'private', which matches the expected behavior when object_canned_acl is not specified. If a user is writing to a bucket with ACLs enabled and is specifying a different canned ACL, that will continue to work with this change.

Fixes #4371

…or buckets created since 2023

Setting an ACL throws an error when uploading to a bucket with ACLs disabled when the bucket is in another account. The former default 'private' is accepted by buckets in the same account but is a no-op
@ttreptow ttreptow changed the title aws_s3: Don't set ACL by default since ACLs are disabled by default aws_s3: Don't set ACL by default since ACLs are disabled by default in S3 Apr 30, 2026
@ttreptow ttreptow force-pushed the remove-default-acl branch from 2569317 to a75c1cf Compare April 30, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws_s3: Output should not set ACL by default

1 participant