AccessDenied for ListObjects for S3 bucket when permissions are s3:*
<p>I am getting: </p>

<blockquote>
  <p>An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied </p>
</blockquote>

<p>When I try to get folder from my S3 bucket.</p>

<p>Using this command: </p>

<pre><code>aws s3 cp s3://bucket-name/data/all-data/ . --recursive
</code></pre>

<p>The IAM permissions for the bucket look like this:</p>

<pre><code>{
"Version": "version_id",
"Statement": [
    {
        "Sid": "some_id",
        "Effect": "Allow",
        "Action": [
            "s3:*"
        ],
        "Resource": [
            "arn:aws:s3:::bucketname/*"
        ]
    }
] }
</code></pre>

<p>What do I need to change to be able to <code>copy</code> and <code>ls</code> successfully?</p>