From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dbbd Newsgroups: gmane.emacs.help Subject: Re: Ediff error -- Permission denied (Win8) Date: Mon, 9 Mar 2015 03:39:36 -0700 (MST) Message-ID: <1425897576781-351770.post@n5.nabble.com> References: <7bbe1024-cb56-4713-b863-e3b732112915@googlegroups.com> <83wqo3xlqj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1425909089 21456 80.91.229.3 (9 Mar 2015 13:51:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2015 13:51:29 +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 14:51:20 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 1YUy5W-0008Ge-Cl for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 14:51:18 +0100 Original-Received: from localhost ([::1]:43390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUy5V-0002q7-QJ for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 09:51:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUv67-0007Z3-CJ for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 06:39:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUv63-0004A5-89 for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 06:39:43 -0400 Original-Received: from mwork.nabble.com ([162.253.133.43]:58728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUv63-0004A0-2m for Help-gnu-emacs@gnu.org; Mon, 09 Mar 2015 06:39:39 -0400 Original-Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 225821664D95 for ; Mon, 9 Mar 2015 03:39:42 -0700 (PDT) In-Reply-To: <83wqo3xlqj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-Received-From: 162.253.133.43 X-Mailman-Approved-At: Mon, 09 Mar 2015 09:50:18 -0400 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:103089 Archived-At: Hi Eli, 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") apply(call-process "diff" nil #*> nil ("c:\\Program Files (x86)\\GNU\\emacs-24.3\\README" "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README.W32")) ediff-exec-process("diff" #*> synchronize "--binary" "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README" "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README.W32") ediff-make-diff2-buffer(#*> "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README" "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README.W32") ediff-setup-diff-regions("c:\\Program Files (x86)\\GNU\\emacs-24.3\\README" "c:\\Program Files (x86)\\GNU\\emacs-24.3\\README.W32" nil) ediff-setup(# "c:/Program Files (x86)/GNU/emacs-24.3/README" # "c:/Program Files (x86)/GNU/emacs-24.3/README.W32" nil nil nil ((ediff-job-name . ediff-files)) nil) ediff-files-internal("c:/Program Files (x86)/GNU/emacs-24.3/README" "c:/Program Files (x86)/GNU/emacs-24.3/README.W32" nil nil ediff-files) ediff-files("c:/Program Files (x86)/GNU/emacs-24.3/README" "c:/Program Files (x86)/GNU/emacs-24.3/README.W32") call-interactively(ediff-files nil nil) Any idea why the permission could be denied coming from emacs, but diff runs fine when started directly in the DOS terminal? Thanks a lot in advance! -- View this message in context: http://emacs.1067599.n5.nabble.com/Ediff-error-Permission-denied-Win8-tp293844p351770.html Sent from the Emacs - Help mailing list archive at Nabble.com.