New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache folder permissions in PROD #358
Comments
Hello @jfdl, Unfortunately I could not solve it. I removed this bundle and stopped using it. |
Establecer todos los permisos a /symfony/var/cache/* |
Hi @yuriang85, setting files to mode 777 is almost never a good idea since it defeats any security. Did you try to remove cache using the user www-data? |
Hello,
When I deploy my Symfony application to production server and try to cache clear, I receive the following error:
Failed to remove file "/project/var/cache/pro~/fosJsRouting/data.json": unlink(/project/var/cache/pro~/fosJsRouting/data.json): Permission denied.
If I see the permissions, I noticed cache folder has been created with user/group: www-data
How can I solve it?
The text was updated successfully, but these errors were encountered: