Incorrect permissions on cached images
ChMat opened this issue · comments
Hi,
Is there a way to force specific permissions on files cached by AvalancheImagineBundle?
At the moment, my app caches files on a public folder with 0600 permissions, making them unreadable by public users.
I found a workaround by forcing a
umask(0022);
in the app.php front controller of my app, but that is not the right way I think.
Do you see a way to solve this issue?
Thanks!
I think it would be nice to make it configurable in the bundle
Thanks for merging ;-)