-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Changed file permissions from 755 to 644 of non-executable files in git. #24005
Changed file permissions from 755 to 644 of non-executable files in git. #24005
Conversation
Hi @hostep. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @ihor-sviziev, thank you for the review.
|
✔️ QA passed |
Hi @hostep, thank you for your contribution! |
Description (*)
This was triggered by 90df53c#commitcomment-34538350
Fixed Issues (if relevant)
(it was already fixed before, but until there is some automated test pointing out these problems, it will keep happening I'm afraid)
This corrects the file permissions for the following file types from 755 to 644:
Manual testing scenarios (*)
find . -type f ! -path './.git/*' ! -perm 644
Questions or comments
In order to prevent this from happening in the future, it would be nice if some sort of test would get created which can detect this.
A potential test for this could be:
find . -type f ! -path './.git/*' ! -perm 644
#!/usr/bin/env
on the first line, it should get flagged.Contribution checklist (*)