aws - 使用 aws s3 并且设置外部可以访问 public access access denied
访问量: 704
好麻烦啊 。为啥要这么麻烦。
refer to: https://stackoverflow.com/questions/71080354/getting-the-bucket-does-not-allow-acls-error/73551886#73551886
@Rutger 's answer is correct, and now it's 2022, aws console has changed ( not a lot ,but some what ), so let me show the images:
1.assume you have created the s3 bucket, in the list page,
2.don't toggle the "block" options
3.find the ownership, then click edit.
4.edit the object owner ship (ACLs enabled)
5.now the edit button for ACL is clickable.
6.toggle the permissions you want and save changes.
it's done, now you can upload images to s3 via commandline and then visit them in your browser: