Skip to content
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

Imager does not respect defaultFilePermissions #219

Open
Zae opened this issue Feb 14, 2019 · 0 comments
Open

Imager does not respect defaultFilePermissions #219

Zae opened this issue Feb 14, 2019 · 0 comments

Comments

@Zae
Copy link

Zae commented Feb 14, 2019

Hi,

It seems that imager does not respect the defaultFilePermissions setting from craft.

I set my permissions to 644 but image::writeImages does not respect this and imager does not fix this afterwards. I also do not think imager fixes the permissions if the optmizer saves the new file.

As a solution changed my own code a bit to chmod all the transformed files I get back from Imager::transformImage, but it would be nicer if imager would respect the craft settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants