Getting 403 forbidden from s3 when attempting to download a file
<p>I have a bucket on s3, and a user given full access to that bucket.</p>

<p>I can perform an <code>ls</code> command and see the files in the bucket, but downloading them fails with:</p>

<p><code>A client error (403) occurred when calling the HeadObject operation: Forbidden</code></p>

<p>I also attempted this with a user granted full S3 permissions through the IAM console. Same problem. </p>

<p>For reference, here is the IAM policy I have:</p>

<pre><code>{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "arn:aws:s3:::*"
        },
        {
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::mybucket",
                "arn:aws:s3:::mybucket/*"
            ]
        }
    ]
}
</code></pre>

<p>I also tried adding a bucket policy, even making the bucket public, and still no go...also, from the console, I tried to set individual permissions on the files in the bucket, and got an error saying I cannot view the bucket, which is strange, since I was viewing it from the console when the message appeared, and can <code>ls</code> anything in the bucket.</p>

<p><strong>EDIT</strong> the files in my bucket were copied there from another bucket belonging to a different account, using credentials from my account. May or may not be relevant...</p>

<p><strong>2nd EDIT</strong> just tried to upload, download and copy my own files to and from this bucket from other buckets, and it works fine. The issue is specifically with the files placed there from another account's bucket.</p>

<p>Thanks!</p>