From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Ediff error -- Permission denied (Win8) Date: Mon, 09 Mar 2015 18:34:43 +0200 Message-ID: <83k2yq5duk.fsf@gnu.org> References: <7bbe1024-cb56-4713-b863-e3b732112915@googlegroups.com> <83wqo3xlqj.fsf@gnu.org> <1425897576781-351770.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425918958 3004 80.91.229.3 (9 Mar 2015 16:35:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2015 16:35:58 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 09 17:35:48 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YV0eg-0004Lq-CI for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 17:35:46 +0100 Original-Received: from localhost ([::1]:44242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0ef-0000P6-M4 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 12:35:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0eK-0000Or-7s for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 12:35:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV0eF-00060r-6Y for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 12:35:24 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:38979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0eE-00060i-Ug for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 12:35:19 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NKY00F00DUFBA00@mtaout28.012.net.il> for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 18:33:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKY006G5DZPEX90@mtaout28.012.net.il> for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 18:33:25 +0200 (IST) In-reply-to: <1425897576781-351770.post@n5.nabble.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103091 Archived-At: > Date: Mon, 9 Mar 2015 03:39:36 -0700 (MST) > From: dbbd > > thanks for this post. In fact, I have the same permission denied problem > (emacs 24.3 under windows7, cygwin installed and added to windows path, diff > working in DOS-terminal; problem still present if I log in as > Administrator). So I followed your advice, and here is the backtrack: > > Debugger entered--Lisp error: (file-error "Searching for program" > "permission denied" "diff") > call-process("diff" nil #*> nil "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README" "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README.W32") Does this happen with any 2 files anywhere on your system, or just files in that directory? Also, please start by searching all your directories on PATH and on exec-path for a file or directory called 'diff', with or without any extensions, and see if you find one. > Any idea why the permission could be denied coming from emacs, but diff runs > fine when started directly in the DOS terminal? Is this a Cygwin Diff or a native Windows Diff program? If Cygwin, do you really invoke it from cmd.exe, or do you invoke it from the Cygwin Bash shell?