Open mbomb007 opened 2 years ago
We encounter the same with RHEL 8 (Ootpa).
$ drush --version
Drush Launcher Version: 0.10.1
Drush Commandline Tool 11.1.1
PHP is 8.0
@back-2-95 Can you run updb with --debug -vvv
? Thanks.
Or maybe its related to xdebug-handler. Try to run it with DRUSH_ALLOW_XDEBUG=1
in front of the command.
@webflo no luck. It seems it's something deep as I get Permission denied
even if run with root user. 😕
Background
I am setting up an Ubuntu 20.04 Linux box with Drupal. Drush is managed by Composer.
Problem
When I run
drush updb -vvv
from the site root, it shows.../vendor/bin/drush: Permission denied
. However, other Drush commands work fine, such asdrush status
,drush cr
,drush cim
, etc.Drush Launcher is at
/usr/local/bin/bush
with 755 permissions on the file and parent folders.Drush is at
/var/www/mysite/vendor/bin/drush
with 640 permissions.Still, the permissions and owners should not be an issue, because I have another webserver where this setup works. I can't figure out why this single command fails but others work.