Open
Description
Preconditions and environment
- Magento 2.4.6-p3
Steps to reproduce
- Install Vanilla Magento
- Connect to the server and change random file permissions in
pub/media
to non-writeable - Call
bin/magento setup:config:set
with any change
Expected result
The configuration is updated, no error thrown.
Actual result
bin/magento setup:config:set --no-interaction --cache-id-prefix=9b27b_ --page-cache-id-prefix=9b27b_
In ConfigModel.php line 171:
Missing write permissions to the following paths:
/home/jetrails/xxx.com/releases/20240208120923/pub/media/logo.png
Additional information
The issue is in \Magento\Framework\Setup\FilePermissions::getMissingWritablePathsForInstallation
, for some reason it not only validates permissions to write to the required directory, but also all the directories and files in it.
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchIssue related to Developer Experience and needs help with Triage to Confirm or Reject it