unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Help-gnu-emacs@gnu.org
Subject: Re: Ediff error -- Permission denied (Win8)
Date: Mon, 09 Mar 2015 18:34:43 +0200	[thread overview]
Message-ID: <83k2yq5duk.fsf@gnu.org> (raw)
In-Reply-To: <1425897576781-351770.post@n5.nabble.com>

> Date: Mon, 9 Mar 2015 03:39:36 -0700 (MST)
> From: dbbd <danybraun@free.fr>
> 
> 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 #<buffer *ediff-diff<2>*> 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?



  reply	other threads:[~2015-03-09 16:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 20:30 Ediff error -- Permission denied (Win8) Yeşim Erke-Magent
2013-08-01 21:38 ` Óscar Fuentes
2013-08-01 23:39 ` Stefan Monnier
     [not found] ` <mailman.2342.1375400381.12400.help-gnu-emacs@gnu.org>
2013-08-02  4:44   ` Rustom Mody
2013-08-02 20:11     ` Yeşim Erke-Magent
2013-08-02 20:07   ` Yeşim Erke-Magent
2013-08-02  5:47 ` Eli Zaretskii
     [not found] ` <mailman.2337.1375393123.12400.help-gnu-emacs@gnu.org>
2013-08-02 20:06   ` Yeşim Erke-Magent
2013-08-02 23:14     ` Drew Adams
     [not found] ` <mailman.2361.1375422778.12400.help-gnu-emacs@gnu.org>
2013-08-02 20:19   ` Yeşim Erke-Magent
2013-08-03  7:43     ` Eli Zaretskii
2015-03-09 10:39       ` dbbd
2015-03-09 16:34         ` Eli Zaretskii [this message]
2015-03-13 11:44           ` dbbd
2015-03-13 15:25             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k2yq5duk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).