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
Post a Comment