Trying to set up Amazon's S3 bucket: 403 Forbidden error & setting permissions

前端 未结 7 2034
Happy的楠姐
Happy的楠姐 2021-01-03 02:52

I\'m following Hartl\'s railstutorial.org and have arrived at 11.4.4: Image upload in production. What I\'ve done:

  • Signed up for Amazon Web Services
  • I
7条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-03 03:38

    I had the same problem. Tried many solutions including S3@FullAccess, creating users, writing custom policies. If someone encounters the problem, then check bucket permissions. Go to bucketname > Permissions > Public Access Settings, then change two ACLs settings from True to False.

提交回复
热议问题