Skip to content

The bucket does not allow ACLs error when copying file to bucket with BucketOwnerEnforced ownership controls #14300

Description

@Fydon

Describe the bug
I get the The bucket does not allow ACLs error when copying or moving files from one AWS S3 bucket to another. The destination bucket has ACLs disabled but the source does not. I've tried setting Default ACL to various values, including None, but still get the same error. There was work to address this issue in the past, e.g. #13386, which is where I first commented on this.

To Reproduce
Steps to reproduce the behavior:

  1. Setup one AWS S3 bucket with an Object Ownership of Bucket owner enforced, e.g. called enforced
  2. Setup another AWS S3 bucket with an Object Ownership of Bucket owner preferred, e.g. called preferred
  3. Copy an object to preferred and set the ACL to allow public read
  4. Copy the object from preferred to enforced

Expected behavior
I would expect Cyberduck to detect that the destination has disabled ACLs and so these should not be set after the file contents have been copied.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Cyberduck Version 8.5.6 (39394)

Log Files
I've added a debug log file, but tried to clean any details that are not necessary to debug this, like secrets and names of items. If there are details missing that you would like, please let me know.
cyberduck.log

Metadata

Metadata

Assignees

Labels

s3AWS S3 Protocol Implementation

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions