Giter Site home page Giter Site logo

Comments (11)

m2-assistant avatar m2-assistant commented on June 9, 2024

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:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
πŸ•™ 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.

m2-assistant avatar m2-assistant commented on June 9, 2024

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 branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced 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.

engcom-November avatar engcom-November commented on June 9, 2024

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.

lbajsarowicz avatar lbajsarowicz commented on June 9, 2024

@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.

engcom-November avatar engcom-November commented on June 9, 2024

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.

lbajsarowicz avatar lbajsarowicz commented on June 9, 2024

@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.

engcom-November avatar engcom-November commented on June 9, 2024

@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.

lbajsarowicz avatar lbajsarowicz commented on June 9, 2024

@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.

engcom-November avatar engcom-November commented on June 9, 2024

@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.

github-jira-sync-bot avatar github-jira-sync-bot commented on June 9, 2024

βœ… Jira issue https://jira.corp.adobe.com/browse/AC-11062 is successfully created for this GitHub issue.

from magento2.

m2-assistant avatar m2-assistant commented on June 9, 2024

βœ… 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.