GNU bug report logs - #37576
27.0.50; [Windows] "Permission denied" error from call-process if executable not found

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Tue, 1 Oct 2019 19:45:02 UTC

Severity: normal

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 37576 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: rcopley <at> gmail.com, lekktu <at> gmail.com, 37576 <at> debbugs.gnu.org
Subject: Re: bug#37576: 27.0.50;
 [Windows] "Permission denied" error from call-process if executable
 not found
Date: Wed, 02 Oct 2019 19:48:13 +0300
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Date: Wed, 02 Oct 2019 13:02:43 +0200
> Cc: Richard Copley <rcopley <at> gmail.com>, 37576 <at> debbugs.gnu.org
> 
> On Okt 02 2019, Juanma Barranquero <lekktu <at> gmail.com> wrote:
> 
> > When the search fails, Emacs is now reporting "permission denied" if some
> > PATH element was non-existent, or "no such file or directory" otherwise. At
> > least on Windows.
> 
> And that is a bug.  A PATH element pointing to a non-existing directory
> should be ignored.

I don't know what "ignore" means in this case, since call-process
should signal an error if it's unable to find the program.  If you
mean that nonexistent directories should be treated as if they
existed, but didn't have the program in them, then I agree, and I've
now fixed the Windows build's behavior to match that of the Posix
builds in this case.

I still didn't hear from Richard confirming that his case is indeed
caused by a non-existent directory on PATH.  Maybe there are other
factors at work here.




This bug report was last modified 5 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.