title: Facing a file permission error while running CakePHP 3.0 in Linux
body: <p>I was able to deploy my application in Linux but i am facing one issue as mentioned below.</p>
  
  <pre><code>     Warning (512):SplFileInfo::openFile(/var/www/html/tmp/cache/models/myapp_cake_model_default_email_queue): 
                     failed to open stream: Permission denied 
                     [CORE/src/Cache/Engine/FileEngine.php, line 391]
  
       Warning (512):SplFileInfo::openFile(/var/www/html/tmp/cache/models/myapp_cake_model_default_email_queue) 
                     [splfileinfo.openfile]: failed to open stream: Permission denied [CORE/src/Cache/Engine/FileEngine.php, line 391]
  
       Warning (512):cake_model cache was unable to write 'default_email_queue' to Cake\Cache\Engine\FileEngine cache 
                     [CORE/src/Cache/Cache.php, line 223].
  </code></pre>
  
  <p>I referred few links and tried all those but still in vain.</p>
  
  <p><a href="https://stackoverflow.com/questions/23251362/cakephp-2-x-warning-splfileinfo-due-to-cakeshell">CakePHP 2.x warning SplFileInfo due to cakeshell</a></p>
  
  <p><a href="https://stackoverflow.com/questions/9733498/splfileinfoopenfile-app-tmp-cache-persistent-cake-core-cake-console-failed">SplFileInfo::openFile(/app/tmp/cache/persistent/cake_core_cake_console_):failed to open stream:Permission denied in /lib/.../FileEngine.php line 293</a></p>
  
  <p>Any help would be appreciated.</p>