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

java - unable show chart in xls document using jasper reports -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -

javascript - How to change image src on success AJAX -