我想为我的drupal安装克隆一个子模块。我运行下面的命令:克隆子模块失败
git submodule add http://git.drupal.org/project/token.git /sites/all/modules/token
这将引发此错误:
The following path is ignored by one of your .gitignore files:
/sites/all/modules/token
Use -f if you really want to add it.
但我的.gitignore文件是空的。
所以我试图运行它的建议:
submodule add -f http://git.drupal.org/project/token.git /sites/all/modules/token
但是,这将引发此错误:
fatal: could not create leading directories of '/sites/all/modules/token': Permission denied
Clone of 'http://git.drupal.org/project/token.git' into submodule path '/sites/all/modules/token' failed
权限是777
想法?
问候 卢卡斯
谢谢,你救了我。 – Maurizio
任何想法为什么这样? – Duc