delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/17/13:27:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=OSH
g52ZwFYV0HCGVhXobknHvn/5kYgIGpdITBorOcISPMv+flMD9L8+USU+t8DT46IO
qD80AQ3O4wrEiHtxcPsO0jtIS8pgq0ODsgkU6KuLUS6PvuruF4pugTxhuuX8fbnt
3275B+h3h15BBvBaKxqgNGGIfdwlhUAT8pSB3j2s=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=MW4LfMtIU
QjHAeBWqZSQtTbtdXU=; b=A/qhSX+FbDaG0BzZ8DPsO0UOyrc1MKouCidgdFSsQ
MrGf2+QLM7omU1tXKhg5qcQ2vhH2J/nV1x4yh6PHEqLY5DmzvTxIKwLZty8GOwsh
rbqYzV5+oy5ElFR33VksRCA/DUsQTv73Llq3V2EadjlZDYuDedhORWEoq1fiuzw+
Lw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=253, difficulties, CYGWIN, logged
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: John J Ottusch <ncokwqc02 AT sneakemail DOT com>
Subject: Permission denied error when running git in 64-bit CYGWIN console
Date: Thu, 17 Dec 2015 18:27:24 +0000 (UTC)
Lines: 35
Message-ID: <loom.20151217T191856-143@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019