Linux Ubuntu and Symfony cache directory -


after composer install symfony cache:clear, lose permission in app/cache directory , must execute chmod 777 command again.

this should connected ownership of directory or?

the problem here is, executing composer current user lets symfony create cache-files user , not www-data user (or whatever user webserver configured).

try running composer install / bin/console webserver's user, eg. sudo -u www-data bin/console cache:clear / sudo -u www-data composer install.

regards


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -