Trying to set up Amazon's S3 bucket: 403 Forbidden error & setting permissions
The root of the problem indeed turned out to be the permissions. It was necessary to write a custom policy and set the CORS configuration on the bucket. For any future users that want to implement this chapter of the rails tutorial, see Writing an IAM policy and CORS configuration for Amazon S3 for the necessary code.
Amazon S3 bucket returning 403 Forbidden
The issue is that the transfer was done according to this thread, which by itself is not an issue. The issue came from the previous developer not changing permissions on the files before transferring. This meant I could not manage any of the files, even though they were in my bucket.
Issue was solved by re-downloading the files cleanly from the previous bucket, deleting the old phantom files, re-uploading the fresh files and setting their permissions to allow public reading of the files.
Getting 403 forbidden from s3 when attempting to download a file
I think you need to make sure that the permissions are applied to objects when moving/copying them between buckets with the "bucket-owner-full-control" acl.
Here are the details about how to do this when moving or copying files as well as retroactively:
https://aws.amazon.com/premiumsupport/knowledge-center/s3-bucket-owner-access/
Also, you can read about the various predefined grants here:
http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl
403 forbidden error when changing s3 bucket files
You need to make all files public. You can either make them public using S3 console/interface or aws cli. It does not take any time to apply public rule, it will be applied instantly.
Related Topics
Catching Timeout Errors with Ruby Mechanize
Kill Process and Sub-Processes in Ruby on Windows
Ror - How to Remove Rails 4.1.1 Version
Generate Array of Numbers That Fit to a Probability Distribution in Ruby
Ruby Not Finding New Version of Openssl
How to Perform Vector Addition in Ruby
How to Interleave Arrays of Different Length in Ruby
How to Tell Which Openssl Lib Is Actually Being Used by an Rvm-Installed Ruby
Ruby on Rails: Search Form - Multiple Search Fields
Is It a Good Idea to Purge Old Rails Migration Files
Using Activerecord Find_In_Batches Method for Deleting Large Data
Convert Ruby Source Code from Old Style to New Style Hash
Documentation for Psych To_Yaml Options
How to Get a List of Gems That Are Installed That Have Native Extensions