msysgit - sh.exe - garfo: permissão negada - Vista 64 bits
Pergunta
Instalei o MSYSGIT em outras máquinas do Windows sem problemas. Nesta caixa Ultimate de 64 bits do Vista, instalei as três versões mais recentes do MSYSGIT. Nas três instalações, quando faço um "git bash aqui", recebo exatamente isso na janela de comando:
sh.exe": fork: Permission denied
sh.exe"-3.1$
O comando git não funciona. Recebo a mesma mensagem negado. Alguma pista sobre como consertar isso?
Atualizar
Além disso, quando eu faço "git gui aqui" - eu entendo:
Cannot determine Git version.
couldn't execute "C\...\git-core\git.exe
Git Gui requires Git 1.5.0 or later
Estou usando uma versão mais recente que 1.5.0.
Solução
The usual way I install msysgit is:
- not in
C:\Program Files
orC:\Program Files(x86)
(That avoid any issue with the UAC mechanism: I had the same "permission denied" problem with eclipse, and this kind of program shouldn't be installed inProgram Files
anyway.) - with the option "Run Git from the Windows Command Prompt": minimal impact on the
PATH
, and avoid side-effect with an eventual Cygwin already installed.
It never failed to work this way.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow