cygwin无法执行'git-add-interactive'权限被拒绝 [英] cygwin cannot exec 'git-add--interactive' permission denied
问题描述
我在Windows 8上使用Cygwin。我通过Cygwin安装程序安装了git 2.1.4版。当我运行
$ git add -i
时,我得到一个
致命错误:无法执行'git-add - interactive':Permission denied
我已经将我想添加的文件以及包含该文件的文件夹,甚至是/ usr / libexec / git-core和git-add - interactive添加到755.我也chgrped在两个文件夹中从None到Users组,以及文件和git-add - 交互。这真的让我烦恼,因为我在MsysGit上没有同样的问题。任何想法/建议?
这也发生在我身上。大量挖掘之后,我发现/bin/cygperll5_14.dll丢失。使用cygwin的setup.exe,我重新安装 perl
和 perl_base
。然后一切开始工作。
这不是很明显吗? ; - )
I am using Cygwin on Windows 8. I've installed git version 2.1.4 through the Cygwin installer. When I run $ git add -i I get a fatal: cannot exec 'git-add--interactive': Permission denied
I've chmoded the file that I would like to add as well as the folder containing the file, and even /usr/libexec/git-core and git-add--interactive to 755. I've also chgrped the group from None to Users in both folder, as well both the file and git-add--interactive. It's really bugging me because I do not have the same problem on MsysGit. Any ideas/suggestions?
This happened for me too. After lots of digging, I found that /bin/cygperll5_14.dll was missing. Using cygwin's setup.exe, I Reinstalled perl
and perl_base
. Then everything started working.
Isn't that obvious? ;-)
这篇关于cygwin无法执行'git-add-interactive'权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!