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

Impossible to change _dir_perms so 0771 is used #548

Closed
pixmin opened this issue Jul 11, 2019 · 3 comments · Fixed by #828
Closed

Impossible to change _dir_perms so 0771 is used #548

pixmin opened this issue Jul 11, 2019 · 3 comments · Fixed by #828

Comments

@pixmin
Copy link

pixmin commented Jul 11, 2019

Hi,

We are using prestashop, but I don't think it matters.

The Smarty_Internal_Runtime_WriteFile::writeFile sets $_dir_perms to 0771 which is a problem since we can't list files in the folder.

Could you either set it to 0775, or use the default umask, or let us set $_dir_perms to whatever we want?

Thanks.

@AnrDaemon
Copy link
Contributor

0750 should be more than enough. If it is not, then fix your server setup.
Not a Smarty problem.

@Designburo
Copy link

It's Smarty..
Every time I change it to 0755, smarty puts it back..

@wisskid
Copy link
Contributor

wisskid commented Jan 27, 2020

!507 might fix this

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

Successfully merging a pull request may close this issue.

4 participants