* Permission denied error when running git in 64-bit CYGWIN console
@ 2015-12-17 18:27 John J Ottusch
2015-12-17 18:35 ` Achim Gratz
0 siblings, 1 reply; 3+ messages in thread
From: John J Ottusch @ 2015-12-17 18:27 UTC (permalink / raw)
To: cygwin
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
the error
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.
jjo
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Permission denied error when running git in 64-bit CYGWIN console
2015-12-17 18:27 Permission denied error when running git in 64-bit CYGWIN console John J Ottusch
@ 2015-12-17 18:35 ` Achim Gratz
0 siblings, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2015-12-17 18:35 UTC (permalink / raw)
To: cygwin
John J Ottusch writes:
> 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.
Git is at version 2.6.2 in Cygwin at the moment, so whatever problem you
have with version 2.5.3 might clear up once you have updated Cygwin
fully.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Permission denied error when running git in 64-bit CYGWIN console
@ 2015-12-18 0:32 John J Ottusch
0 siblings, 0 replies; 3+ messages in thread
From: John J Ottusch @ 2015-12-18 0:32 UTC (permalink / raw)
To: cygwin
Achim,
Updating my 64-bit CYGWIN installation to the latest release (as of
today), which includes git version 2.6.2, did in fact solve the problem I
was experiencing.
Thanks,
jjo
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-18 0:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-17 18:27 Permission denied error when running git in 64-bit CYGWIN console John J Ottusch
2015-12-17 18:35 ` Achim Gratz
2015-12-18 0:32 John J Ottusch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).