This is the mail archive of the
mailing list for the Cygwin project.
Permission denied error when running git in 64-bit CYGWIN console
- From: John J Ottusch <ncokwqc02 at sneakemail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Dec 2015 18:27:24 +0000 (UTC)
- Subject: Permission denied error when running git in 64-bit CYGWIN console
- Authentication-results: sourceware.org; auth=none
The transition from 32-bit CYGWIN (C32) to 64-bit CYGWIN (C64) has been
mostly smooth, but I have encountered some unexpected difficulties. The
latest involves 'git' version 2.5.3.
When I run 'git difftool' from my project directory in a C32 console I
get the expected behavior, but doing the same in a C64 console produces
fatal: cannot exec 'git-difftool': Permission denied
It has been suggested that git generates this error because of an
inaccessible directory in my $PATH. All the directories check out as
accessible from the account I am logged in to. Furthermore, logging into
an account with administrator privileges makes no difference. Even
reducing my $PATH to /usr/bin makes no difference. I also checked out
all the mount points.
I have also read that running
strace -f -e execve git difftool
can help find the $PATH entry that is returning EACCES. But that just
returns the error
strace.exe: error creating process execve, (error 2)
Running the same command without execve produces debugging output but
does not reveal to me the source of the permission denied error.
I note that the problem is apparently related to 'git difftool' invoking
the git alias 'git-difftool' since 'git diff' works fine.
Any help fixing or debugging this problem would be appreciated.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple