Issue #3616482 by luigisa: Creating directories fails on S3 buckets with ACLs disabled

prepareDirectory() requested PUBLIC visibility, which S3 maps to a public-read ACL. Buckets with Object Ownership = Bucket owner enforced reject that, so every mkdir failed. Request PRIVATE instead. Also treat BlockPublicAcls as unsupported visibility in chmod() so those buckets stop logging warnings.

Closes #3616482

Merge request reports

Loading