-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpFoundation] Add settable permissions and adopt stricter defaults #42271
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
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
5f71b9c
to
6f0946c
Compare
Rebased and fixed the issue found by psalm. |
Hey! I think @atailouloute has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
There are several aspects to consider here:
|
Let me close since this is quite old. Feel free to challenge of course. |
While porting GNU social's TemporaryFile from v2 to v3, we've noticed that Symfony's File component didn't let us set permissions for new directories nor files. In addition, the default permission for directories is 0777.
If this was intended design, we would like to learn why; If not, I'll appreciate guidance on how to properly update the documentation and commit this patch.