I am trying to set drush
up on a remote server. (a webserver by a provider)
I installed drush
with composer via SSH, but when I try to run it, I get
-bash: /data/web/myusername/.composer/vendor/drush/drush/drush: Permission denied
drush
has -rwxr-xr-x
permissions
How would I verify if it is just the provider not allowing me to execute drush
or simply a bug?
Edit: I found that i could run drush with bash drush
, it seems to be a permission problem after all.
now the drush
on my local machine would call the remote drush
without the bash
, so how could I change that/workaround?
If still someone is facing permission issue while running drush command then run below commands sudo chmod -R 777 /vendor/drush
Note Drupal 8 Drush Commandline Tool 9.5.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With