Comments (11)
Hi @lbajsarowicz. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release- For more details, review the Magento Contributor Assistant documentation.
- Add a comment to assign the issue:
@magento I am working on this
- To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel.
π You can find the schedule on the Magento Community Calendar page.
π The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
from magento2.
Hi @engcom-November. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: π
- 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
- 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
- 3. Add
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to. - 4. Verify that the issue is reproducible on
2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! - 5. Add label
Issue: Confirmed
once verification is complete. - 6. Make sure that automatic system confirms that report has been added to the backlog.
from magento2.
Hello @lbajsarowicz,
Thank you for the report and collaboration!
This seems like expected behaviour, could you tell us more why is this an issue and when are you experiencing this.
Thank you.
from magento2.
@engcom-November For one of our Clients, graphics in pub/media
are uploaded using SFTP. The ownership of those files do not allow Magento to write to those files. Agent responsible for uploading files does not have option to either change ownership or file permissions in their software. As a result, after each batch of graphics being delivered, the deployment fails.
from magento2.
Hello @lbajsarowicz,
Thank you for the quick respose!
As from your recent comment, I understand getMissingWritablePathsForInstallation
method is fetching the non-writable files inside pub/media
, but as these files are non writable, you need a way to deploy without getting write permission error.
I believe this falls under feature request, as \Magento\Framework\Setup\FilePermissions
by default will check permissions for all the files and folders inside a directory.
Please let us know your input on this.
Thank you.
from magento2.
@engcom-November Althoguh I can understand validating write
permissions to var/
directory, I do not understand the requirement of writeability of all the directories and files in pub/media
being writeable.
Do you have any Issue number, Jira Ticket number or any other source that would explain the root cause for introducing such a validation?
from magento2.
@lbajsarowicz, please take a look here, this is the documentation for setting up the ownership for development and production system, it is mentioned that pub/media
must be writable.
from magento2.
@engcom-November Unfortunately, that document does not answer WHY enterprise users can't just follow their content security policies (assets writeable only by specific *nix group).
Secondly, why the error is triggered... during setup:config:set
, neither with setup:db-data:upgrade
nor setup:upgrade
.
I would even understand this check with setup:install
, but checking file permissions when you change cache key - I think there's a glitch implemented in the core.
from magento2.
@lbajsarowicz, It is a valid issue if the error is only triggered when running the setup:config:set
command, and not with other commands.
Hence this issue can be confirmed.
Thank you.
from magento2.
β Jira issue https://jira.corp.adobe.com/browse/AC-11062 is successfully created for this GitHub issue.
from magento2.
β
Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
from magento2.
Related Issues (20)
- [Issue] Also replace jquery/fileUploader with jquery/uppy in list of files toβ¦
- Loggedin customer address comes twice when we are placing order with Payflow credit card HOT 8
- It's possible to set non-unique values via product import HOT 3
- Credit memo view show wrong increment ID HOT 5
- Forgot password link has expired HOT 4
- Product custom option of type 'Drop-down' retains values in the database after being changed to type 'Field' HOT 11
- Magento2 - Improve Attribute Value section for enhanced visibility HOT 1
- [Performance] Linked products section loads all the collection HOT 3
- Wrong Order total, the round is not applied to the price calculation. HOT 5
- Your license was locked. Please contact our support team for more information. HOT 7
- Catalog Price Rules not applying to Custom Options HOT 7
- Configurable product shown in category page even if its simple has salable qty = 0 HOT 9
- Error after installing security patch update 2.4.6-p4 HOT 4
- Error when clicking on "all customers" to get sto website access approval/editing HOT 8
- Found duplicate products in the REST API with pagination. HOT 8
- 245-p6 - unable to view media folders and files when a file is present in any subdirectory of pub/media with a space in the filename HOT 5
- Links purchased separately default to true when importing downloadable products HOT 10
- Updating from 2.4.6-p1 to 2.4.6-p4 error HOT 1
- Integration failing after upgrade to new version. HOT 1
- Custom variable added to variable pool cause unhandled exceptions in different admin on pages with WYSIWYG HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2.