Laravel S3 file upload : fopen(path to file) failed to open stream: Permission denied
<p>I am uploading files to S3 :</p>

<p>In file system i have :</p>

<pre><code>'default' =&gt; 's3',

'cloud' =&gt; 's3',

's3' =&gt; [
            'driver' =&gt; 's3',
            'key' =&gt; '***********',
            'secret' =&gt; '********************',
            'region' =&gt; '************',
            'bucket' =&gt; '*************',
        ],

    ],
    'parent_url' =&gt; 'http://54.169.67.54/',

];
</code></pre>

<p>Everything seems fine but error comes up when upload a file.</p>

<p><code>fopen(/var/www/html/project/public/photos/profile-pics/1-medium-1470892864.jpg): failed to open stream: Permission denied</code></p>