Problem: composer selfupdate gives a permission error, since /usr/local/bin is owned by root:root.
Solution: I suggest that Composer as well as Drush, and perhaps also wp (a Wordpress plugin?) are installed in ~/.local/bin in stead, since it is registered in $PATH in Scotch Box by default, as well as on at least two web hosting services I use, which has SSH access.
Problem:
composer selfupdate
gives a permission error, since/usr/local/bin
is owned byroot:root
.Solution: I suggest that Composer as well as Drush, and perhaps also wp (a Wordpress plugin?) are installed in
~/.local/bin
in stead, since it is registered in$PATH
in Scotch Box by default, as well as on at least two web hosting services I use, which has SSH access.