Cloudways needs reset permissions on new files

1.1k Views Asked by At

I am using Symfony 3.2 on Cloudways server. The issue is in cache. I want clear cache on each push as symfony in prod env does not update twig cache. However cache can not be cleared because of file permissions. New files (cache) have wrong permissions so that I cannot delete them. The only way is to reset permissions in application settings in Cloudways admin. But it is a headache to do it on each push. Is there any workaround?

0

There are 0 best solutions below