After doing a big research, I’ve not found any guide to upload images to S3 with private ACL.
I’m experiencing a weird behavior where the backups work but not uploadimg of images.
I narrowed the issue down to a problem with ACL of the bucket (I proved that the problem is the ACL since I’m able to upload file using the sdk without specifing the ACL flag). In some cases the “block access to public” permission are set at account level and not bucket level so deactivating the checkbox in the bucket config won’t work.
Ich habe auch dasselbe Problem. Backup-Upload funktioniert, aber Bild-Upload zeigt “Der Bucket erlaubt keine ACLs”
Und es wurde behoben, indem eine Berechtigung in IAM und zwei Einstellungen im Bucket geändert wurden
Zuerst habe ich die Anleitung bezüglich der IAM-Berechtigung von “s3:HeadBucket” auf “s3:ListBucket” geändert, da Amazon sagte, HeadBucket sei keine gültige Berechtigung
Dann der wichtigste Teil, das Aktivieren von ACLs, es heißt “Objekteigentümerschaft bearbeiten” im Berechtigungs-Tab. Mit aktivierten ACLs und auf “Objektschreiber” gesetzt, funktioniert jetzt alles einwandfrei