-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Issue] Apply correct file permissions after renaming #39638
Comments
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @philpage1983, Thanks for the report and collaboration! We have tried to reproduce the issue via uploading image from the category page: Initially without the PR changes the file permission is as follows:
but after the PR changes the file permissions are as follows:
But as per the below text mentioned in the main description, the issue is reproducible while renaming:
Please elaborate on the renaming part in the context of the issue. Thanks |
@engcom-Hotel Apologies I just meant renaming in the context of it's the rename function that's affected. |
Thank you for the clarification @philpage1983! We are now confirming this issue for further processing. Thanks |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-14013 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
This issue is automatically created based on existing pull request: #39633: Apply correct file permissions after renaming
Preconditions (*)
Magento version : 2.4.2 or greater
Description (*)
Determine if the new path is a file and if so apply the correct file permissions after renaming so that files don't receive execute permissions.
Manual testing scenarios (*)
Expected Result
Uploaded image should have correct file permissions e.g. umask 022 -> 0644
Actual Result
Uploaded image has incorrect file permissions e.g. umask 022 -> 0755
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: