omega8cc / boa

Barracuda Octopus Aegir 5.2.0
https://omega8.cc/compare
395 stars 77 forks source link

Problem with permissions on a drush folder prevent composer updating - fix is easy #1774

Closed EdNett closed 3 months ago

EdNett commented 3 months ago

On Thunder and Drutopia distros (at the least) we are unable to update composer packages (drupal 9 and 10) because the permissions on a drush folder are set to 400. The fix is easy - setting the permissions to allow reading, writing and executing through the folder. The error message encountered is:

In Filesystem.php line 260:

/data/disk/o2/static/drutopia/vendor/drush/drush does not exist and could no t be created:

chmod 770 /data/disk/o2/static/drutopia/vendor/drush allows updating via composer, and a verification task on the platform changes the permissions back to 400, so something isn't working properly here.

boa info more is here: https://gist.github.com/EdNett/59fe3156aa2f3fcff935b062b0d162b9

Best,

Ed

omega8cc commented 3 months ago

It works as designed, please read the docs/DRUSH.txt

Sent with GitHawk