We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Craft bootstrap always uses chmod 0755, even when defaultDirMode is set to something else.
defaultDirMode
0777
storage/runtime
0755
I expect these folders to be created with chmod 0777
They are always created with 0755
See https://github.com/craftcms/cms/blob/develop/bootstrap/bootstrap.php#L32-L39 where this happens.
3 and 4
No response
The text was updated successfully, but these errors were encountered:
8d0cfc1
Thanks for reporting that! Fixed for the next v3 and v4 releases.
Sorry, something went wrong.
Craft 3.9.5 and 4.5.7 are out with a fix for this!
No branches or pull requests
What happened?
Description
Craft bootstrap always uses chmod 0755, even when defaultDirMode is set to something else.
Steps to reproduce
defaultDirMode
to0777
for examplestorage/runtime
are still created with0755
Expected behavior
I expect these folders to be created with chmod 0777
Actual behavior
They are always created with 0755
See https://github.com/craftcms/cms/blob/develop/bootstrap/bootstrap.php#L32-L39 where this happens.
Craft CMS version
3 and 4
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: