`chmod -R 777` should NEVER be used in production. We can not add this in the documentation. 
IMO the best would be to put the solution provided by umpirsky and a comment referring to the symfony documentation.