• <small id='HH56I'></small><noframes id='HH56I'>

  • <legend id='HH56I'><style id='HH56I'><dir id='HH56I'><q id='HH56I'></q></dir></style></legend>

    • <bdo id='HH56I'></bdo><ul id='HH56I'></ul>

      <i id='HH56I'><tr id='HH56I'><dt id='HH56I'><q id='HH56I'><span id='HH56I'><b id='HH56I'><form id='HH56I'><ins id='HH56I'></ins><ul id='HH56I'></ul><sub id='HH56I'></sub></form><legend id='HH56I'></legend><bdo id='HH56I'><pre id='HH56I'><center id='HH56I'></center></pre></bdo></b><th id='HH56I'></th></span></q></dt></tr></i><div id='HH56I'><tfoot id='HH56I'></tfoot><dl id='HH56I'><fieldset id='HH56I'></fieldset></dl></div>
        <tfoot id='HH56I'></tfoot>
      1. /usr/local/bin/中的作曲家权限被拒绝

        时间:2023-10-12
          <bdo id='JvRi6'></bdo><ul id='JvRi6'></ul>

            1. <i id='JvRi6'><tr id='JvRi6'><dt id='JvRi6'><q id='JvRi6'><span id='JvRi6'><b id='JvRi6'><form id='JvRi6'><ins id='JvRi6'></ins><ul id='JvRi6'></ul><sub id='JvRi6'></sub></form><legend id='JvRi6'></legend><bdo id='JvRi6'><pre id='JvRi6'><center id='JvRi6'></center></pre></bdo></b><th id='JvRi6'></th></span></q></dt></tr></i><div id='JvRi6'><tfoot id='JvRi6'></tfoot><dl id='JvRi6'><fieldset id='JvRi6'></fieldset></dl></div>
              <legend id='JvRi6'><style id='JvRi6'><dir id='JvRi6'><q id='JvRi6'></q></dir></style></legend>
                <tbody id='JvRi6'></tbody>
                <tfoot id='JvRi6'></tfoot>

              • <small id='JvRi6'></small><noframes id='JvRi6'>

                  本文介绍了/usr/local/bin/中的作曲家权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我遵循了 https://getcomposer.org/doc/00-intro.md#globally<上的文档/a> 在 arch linux 上全局安装 composer.当我执行 composer self-update 时,我收到此消息:

                  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:

                    [ErrorException]                                                                                    
                    rename(/home/hannes/.composer/cache/composer-temp.phar,/usr/local/bin/composer): Permission denied 
                  

                  /usr/local/bin/中的权限(我改成777了,没用):

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

                  -rwxrwxrwx  1 hannes users 1104202 30. Mai 18:07 composer
                  

                  在我的主目录中,我这样做了:

                  In my home directory I did this:

                  sudo chmod -R 777 .composer/
                  

                  /etc/php/php.ini中,open_basedir看起来是这样的:

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

                  open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/local/bin/
                  

                  我也尝试过 sudo composer self-update 但效果不佳,而且可能不是正确的方法.(?).我还能尝试做些什么来使这项工作发挥作用?

                  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?

                  推荐答案

                  现在,arch linux 中有一个对我有用的 composer 包:

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

                  sudo pacman -S composer
                  

                  这篇关于/usr/local/bin/中的作曲家权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何使用 ACL 根据特定用户的权限(例如 EDIT)过滤域对象列表? 下一篇:使用 PHP 在 Windows 中设置文件权限

                  相关文章

                    <bdo id='9bMyN'></bdo><ul id='9bMyN'></ul>
                  <tfoot id='9bMyN'></tfoot>
                • <legend id='9bMyN'><style id='9bMyN'><dir id='9bMyN'><q id='9bMyN'></q></dir></style></legend>
                • <small id='9bMyN'></small><noframes id='9bMyN'>

                      <i id='9bMyN'><tr id='9bMyN'><dt id='9bMyN'><q id='9bMyN'><span id='9bMyN'><b id='9bMyN'><form id='9bMyN'><ins id='9bMyN'></ins><ul id='9bMyN'></ul><sub id='9bMyN'></sub></form><legend id='9bMyN'></legend><bdo id='9bMyN'><pre id='9bMyN'><center id='9bMyN'></center></pre></bdo></b><th id='9bMyN'></th></span></q></dt></tr></i><div id='9bMyN'><tfoot id='9bMyN'></tfoot><dl id='9bMyN'><fieldset id='9bMyN'></fieldset></dl></div>