Magento 2.4.3

Installed quality-patches via

composer require magento/quality-patches

Trying to apply a patch via

./vendor/bin/magento-patches apply MDVA-40311

Getting error:

./vendor/bin/magento-patches: line 14: /xxxxxxxx/vendor/magento/magento-cloud-patches/bin/magento-patches: Permission denied

p.s. ./bin/magento works no problem

  • seems like this is folder permission issue Jun 7, 2022 at 15:36

1 Answer 1


Following may do:

chmod +x ./vendor/magento/magento-cloud-patches/bin/magento-patches
./vendor/bin/magento-patches apply MDVA-40311  
chmod -x ./vendor/magento/magento-cloud-patches/bin/magento-patches

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.