title: Symfony cannot load css, have permission issue in app/cache
body: <p>My synfomy app works fine after running the command: <code>php composer.phar install</code> but after some time, maybe 15 mins, all css files cannot be loaded, and most weird issue is there is no 500 internal error about that. Then I run <code>php composer.phar install</code> again, every css file load back again.  </p>
  
  <p>And one more issue is I always getting this error:  <code>Warning: mkdir(): Permission denied in /home/justin/PhpstormProjects/Brolly/app/cache/dev/</code> </p>
  
  <p>I have tried:  </p>
  
  <ol>
  <li>chmod to 777, </li>
  <li>rm -rf app/cache/* and rm -rf app/logs/*</li>
  <li>HTTPDUSER=<code>ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1</code></li>
  <li>sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:<code>whoami</code>:rwX app/cache app/logs</li>
  <li>$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:<code>whoami</code>:rwX app/cache app/logs</li>
  </ol>
  
  <p>But still have the problem</p>