2013-10-02 14 views
0

我收到以下错误,当我尝试与作曲家更新学说错误更新与作曲家的教条可能是一个错误?

[RuntimeException] 
    Failed to clone https://github.com/doctrine/dbal.git via git, https protocols, aborting. 

    - git://github.com/doctrine/dbal.git 
    error: could not lock config file .git/config: Permission denied 
    error: cannot open .git/FETCH_HEAD: Permission denied 


    - https://github.com/doctrine/dbal.git 
    error: could not lock config file .git/config: Permission denied 
    error: cannot open .git/FETCH_HEAD: Permission denied 

我使用这行的教义在我composer.json

"doctrine/doctrine-bundle": "1.2.*@dev", 
+0

'权限denied' - >请查看您的权限 – cheesemacfly

+0

Obiously我知道,但是我觉得权限是在github教义的一面。这意味着他们不允许我从git中取出最新版本 –

+1

权限问题与计算机上的'.git/config'文件有关。你在用什么用户?此文件的权限设置是什么? – cheesemacfly

回答

0

请查看该供应商中学说文件夹具有正确的权限。对于我删除原理文件夹并再次运行更新解决了问题。

$ sudo rm -rf vendor/doctrine ; ./composer update