Skip to content
Advertisement

permission denied for composer in /usr/local/bin/

I followed the documentation on https://getcomposer.org/doc/00-intro.md#globally to install composer globally on arch linux. When I do composer self-update, I get this message:

JavaScript

The permissions in /usr/local/bin/ (I changed them to 777, but it did not help):

JavaScript

In my home directory I did this:

JavaScript

In /etc/php/php.ini, the open_basedir looks so:

JavaScript

I also tried sudo composer self-update but it did not work as well and is possibly not the right way. (?). What else could I try to make this work?

Advertisement

Answer

Now, there is a package for composer in arch linux which works for me:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement