Невозможно клонировать из git p4 clone

Не удалось клонировать репо: (Любая помощь будет оценена) Я пытаюсь клонировать репо из Perforce. У меня есть разрешение на репо. Проверенные.

git p4 clone --destination=/workspaces/git/lotus/main //depot/lotus/main
 Importing from //depot/lotus/main into /workspaces/git/lotus/main
 Reinitialized existing Git repository in /workspaces/git/lotus/main/.git/
 Doing initial import of //depot/lotus/main/ from revision #head into refs/remotes/p4/master
 Traceback (most recent call last):
 File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 3287, in <module>
 main()
 File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 3281, in main
 if not cmd.run(args):
 File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 3155, in run
 if not P4Sync.run(self, depotPaths):
 File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 2951, in run
 self.importHeadRevision(revision)
 File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 2700, in importHeadRevision
 for info in p4CmdList(["files"] + fileArgs):
 File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 475, in p4CmdList
 stdout=subprocess.PIPE)
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
 errread, errwrite)
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
 raise child_exception
 OSError: [Errno 13] Permission denied
</module>
1 ответ

Эти строки:

File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 2700, in importHeadRevision
 for info in p4CmdList(["files"] + fileArgs):
 File "/Library/Developer/CommandLineTools/usr/libexec/git-core/git-p4", line 475, in p4CmdList
 stdout=subprocess.PIPE)
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
 errread, errwrite)
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
 raise child_exception
OSError: [Errno 13] Permission denied

указывают, что git-p4 по существу делает:

$ p4 files

но получает Permission denied. Это может произойти, если вы загрузили p4 и поместили его в свой PATH, но забыли chmod его сделать его исполняемым.

licensed under cc by-sa 3.0 with attribution.