title: Laravel 5.1, failed to open stream: Permission denied
body: <p>I am having a challenge uploading a file into <code>app/storage</code>. Upon uploading the file I get this error: <br /> 
  <code>file_put_contents(C:\xampp\htdocs\ProjectName\storage\app\folderName): failed to open stream: Permission denied</code>.</p>
  
  <p>I tried using <code>chmod -R 777 storage/app</code>, but still have the same problem.</p>
  
  <p>Would really like know how to solve this problem.</p>