From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 15:44:16 2019 Received: (at submit) by debbugs.gnu.org; 1 Oct 2019 19:44:16 +0000 Received: from localhost ([127.0.0.1]:34852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFO4G-0008LY-8W for submit@debbugs.gnu.org; Tue, 01 Oct 2019 15:44:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:33738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFO4D-0008LP-JJ for submit@debbugs.gnu.org; Tue, 01 Oct 2019 15:44:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51792) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFO4B-0001Th-Ht for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:44:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFO49-0004f9-OY for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:44:11 -0400 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]:37492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFO49-0004dn-Ba for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:44:09 -0400 Received: by mail-oi1-x22e.google.com with SMTP id i16so15554627oie.4 for ; Tue, 01 Oct 2019 12:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3nY2VGYJL6hLxLH84g0HiEmth2wQJjDGpXBoR8Jn0qc=; b=puTZOsS+6jxib0THMXgyv7XM11fln+dnPuy9cyPLgzpn03LT/nu+xSEupb//KLptiZ Z1icQVE1Im53lpasNOfCyfV9/MoRviHtelRsiLkmAXn7cEecmXC/P5WOCTEXj5d3XXCj YKWbslItIOzyq/I5OKKyqn8nTSCpSxs7xe1GGL9Rfsoy4EkZTpJMoHQkR/fdgG/M9Jes xKVSPL65EBdXSSHcg5swiOn9hwBuPsTSDSCKp1aYDKw3jtRTt53LgSoXFBIYzaOJXTDM iXBzykgHyVCN9qaaQ2k0ejO9ylKvs71xR//+q6f1OfHVuzmgPRqQ13e3lxr38hq7tKmf naeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3nY2VGYJL6hLxLH84g0HiEmth2wQJjDGpXBoR8Jn0qc=; b=sMZWplwrY9unY60GI0JdZ6r4zQzjoROA2mATOMljFD+j2gmdARfLA/zyOxyyCMuGEs EsFKweyqiLrQRVOWGJzVNuNPotYvlF4ScAEUxcHxJe/CZxmNJkkB4bSiAR8tx4q6hl27 J9w+9hUAijGvBpaeq5MsEpIM+esxgEgYfW5fpJfmnVZcSjKgvV/yxIgR3SBVHejqquPp XFY+Ur02p77EeczHjM3FQe6D9k9msUWXDnlBu7d1nwpau6UIYuInCdPtOw6tGuzRoZA4 d0GjaOiZ+I9wD8dPsKhNfPib02qJtPesK9GMGX/77c4I3yRWtQicd890LfSudT3IJGHK QsYQ== X-Gm-Message-State: APjAAAUE5CfQTtnrcfUc3FQRuFSEM7JBg9cFBNsQalgwBaZf6LjJjLoX YuxtaZ5csI0LswPxsmjBey2NgsJdYm5SF7UbWAe0XUFKjQk= X-Google-Smtp-Source: APXvYqyafIBVWFfobML5NNWhPDB1U4u7/G8r4ulPPeh8V/cP4gPCRmkt/GJLPi7eSNh/A+ivD5pPr/XgeRkrgrB/5oE= X-Received: by 2002:aca:5bd4:: with SMTP id p203mr4892170oib.153.1569959047990; Tue, 01 Oct 2019 12:44:07 -0700 (PDT) MIME-Version: 1.0 From: Richard Copley Date: Tue, 1 Oct 2019 20:43:42 +0100 Message-ID: Subject: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000005e133e0593de93a1" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::22e X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000005e133e0593de93a1 Content-Type: text/plain; charset="UTF-8" In "emacs -Q", if the file "xyzzy" does not exist on the path, (call-process "xyzzy") now leaves this in the *Messages* buffer: forward-sexp: Searching for program: Permission denied, xyzzy In older versions the entry in the message buffer is a true statement: eval: Searching for program: No such file or directory, xyzzy (I also noticed debug-on-error is now 't' in "emacs -Q". This isn't in the NEWS, unless I missed it?) In GNU Emacs 27.0.50 (build 13, x86_64-w64-mingw32) of 2019-10-01 built on MACHINE Repository revision: cbc507779b8f56ce0abf596416e8e3847de88e10 Repository branch: buster Windowing system distributor 'Microsoft Corp.', version 10.0.18890 System Description: Microsoft Windows 10 Pro (v10.0.1903.18890.1000) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Entering debugger... Continuing. forward-sexp: Searching for program: Permission denied, xyzzy Configured using: 'configure --config-cache --with-modules --without-pop --without-dbus --without-gconf --without-gsettings 'CFLAGS=-O0 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile compile comint ansi-color ring cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 56362 12184) (symbols 48 6971 1) (strings 32 19777 2016) (string-bytes 1 617340) (vectors 16 11386) (vector-slots 8 141766 11600) (floats 8 25 161) (intervals 56 229 7) (buffers 992 12)) --0000000000005e133e0593de93a1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In "emacs -Q", if the file "xyzzy"= ; does not exist on the path, (call-process "xyzzy") now leaves t= his in the *Messages* buffer:

=C2=A0 forward-sexp: Sear= ching for program: Permission denied, xyzzy

In older versions t= he entry in the message buffer is a true statement:

=C2= =A0 eval: Searching for program: No such file or directory, xyzzy

(I= also noticed debug-on-error is now 't' in "emacs -Q". Th= is isn't in the NEWS, unless I missed it?)

In GNU Emacs 27.0.50 = (build 13, x86_64-w64-mingw32)
=C2=A0of 2019-10-01 built on MACHINE
R= epository revision: cbc507779b8f56ce0abf596416e8e3847de88e10
Repository = branch: buster
Windowing system distributor 'Microsoft Corp.', v= ersion 10.0.18890
System Description: Microsoft Windows 10 Pro (v10.0.19= 03.18890.1000)

Recent messages:
For information about GNU Emacs a= nd the GNU system, type C-h C-a.
Entering debugger...
Continuing.
= forward-sexp: Searching for program: Permission denied, xyzzy
Configured= using:
=C2=A0'configure --config-cache --with-modules --without-pop= --without-dbus
=C2=A0--without-gconf --without-gsettings 'CFLAGS=3D= -O0 -ggdb3''

Configured features:
XPM JPEG TIFF GIF PNG R= SVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCRO= LL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:=C2=A0 value of $LANG: ENG
=C2=A0 locale-coding-system: cp1252

= Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 toolti= p-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mo= de: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2= =A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cu= rsor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-m= ode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
= =C2=A0 transient-mark-mode: t

Load-path shadows:
None found.
<= br>Features:
(shadow sort mail-extr emacsbug message rmc puny dired dire= d-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg= epg-config
gnus-util rmail rmail-loaddefs text-property-search time-dat= e subr-x seq
byte-opt gv bytecomp byte-compile compile comint ansi-color= ring cconv
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev = gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-pr= svr
mail-utils help-fns radix-tree cl-print debug backtrace help-modeeasymenu find-func cl-loaddefs cl-lib tooltip eldoc electric uniquify
e= diff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table
ter= m/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
re= gexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
l= isp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
sele= ct scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tt= y-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese = tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek = romanian slovak czech european ethiopic indian cyrillic
chinese composit= e charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbr= ev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-fac= e macroexp files text-properties overlay sha1 md5
base64 format env code= -pages mule custom widget hashtable-print-readable
backquote threads w32= notify w32 lcms2 multi-tty make-network-process
emacs)

Memory inf= ormation:
((conses 16 56362 12184)
=C2=A0(symbols 48 6971 1)
=C2= =A0(strings 32 19777 2016)
=C2=A0(string-bytes 1 617340)
=C2=A0(vecto= rs 16 11386)
=C2=A0(vector-slots 8 141766 11600)
=C2=A0(floats 8 25 1= 61)
=C2=A0(intervals 56 229 7)
=C2=A0(buffers 992 12))
--0000000000005e133e0593de93a1-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 16:43:47 2019 Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 20:43:47 +0000 Received: from localhost ([127.0.0.1]:34919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFOzo-0003bU-Rr for submit@debbugs.gnu.org; Tue, 01 Oct 2019 16:43:47 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:33071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFOzm-0003bD-6W for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 16:43:43 -0400 Received: by mail-qk1-f174.google.com with SMTP id x134so12711289qkb.0 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 13:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N5lxCzGBWrDM7+yIRkTUAYT0yaGx2g0H3UFgurHybdQ=; b=Q/H6UWk+/gidDI2v8zPCWsCIGivSV5z+VwVP5EdwyK6XtuNok38+E+80h7UQRsYHya evI7qCMr/SFcpL5L3lXL8GpKvZiVggiyFFbBpkn/PnC74AwK5LQwDT9C0RhP1OKWXQx4 T06JgkpfoJFzOT8JbMqmHlkYNWJnC5znKhsmEhGKOUn5NHupMwQ5nuR+bVB7CRa2srcS EOvyHDGsY4R96d81+HPYA9F9FsQlg+0zBBEJZpruYKKAhCc8KF4GLXArXhyhi9m2XT3U +zi1wJrZUng65kIrUhiq+1a/9z1mVOnt5YAjACeEBqeK/cSp/v4iMP1oVyEyrIjjAJR7 rvfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N5lxCzGBWrDM7+yIRkTUAYT0yaGx2g0H3UFgurHybdQ=; b=mm2rNOCYSUHK9tI9Q5srppnTmtRuktD0esTmk5xHPVEb9gkJHSof1MTg3hcNYJpVxt MLyZDmqjFhRacg7qe9ZxxRe/nNjF0ytwUsNnCQjmjNHMc2Yxb9DGObx1xdPDFgn/WepY PgsxPHRItDeXOEQ0TcEikoowe48s0VB9++6QE97zlVIw5zYnJmsSI+CZA9mT6wkyVe1G JUTS57IykHhgB1sn0z4Jf3H0MeYZZj5oLFX8R+A4eZChKrcdBDFISQYXA3m5Il3KTth/ fc3xpOlZgBppUh60r/P5k3xURLdyl/20vokNKFbMTmPNAUwVFrQNDPhuvIpkOCpUJP+D gH9g== X-Gm-Message-State: APjAAAWCMPnL5fPrKFmxb0y9/MZw2SYrlu/4XEMTL3KDsqHKuJdA1qcQ SAJ8OKhaaIpIFvto1OI55Z6iT//L/vvQh4frJCA= X-Google-Smtp-Source: APXvYqwQ+F1KTr94KM5xiTYKo2A7D1gO3s4GHCfp+WiHkLzvuG6pKzs4DQ1cHv3ntat4h/nYDHiaKdOr26PD8dRU8AU= X-Received: by 2002:a37:a411:: with SMTP id n17mr44569qke.216.1569962616214; Tue, 01 Oct 2019 13:43:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Juanma Barranquero Date: Tue, 1 Oct 2019 22:43:01 +0200 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Richard Copley Content-Type: multipart/alternative; boundary="0000000000000cd9170593df689b" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000000cd9170593df689b Content-Type: text/plain; charset="UTF-8" On Tue, Oct 1, 2019 at 9:56 PM Richard Copley wrote: > In "emacs -Q", if the file "xyzzy" does not exist on the path, (call-process "xyzzy") now leaves this in the *Messages* buffer: > > forward-sexp: Searching for program: Permission denied, xyzzy > > In older versions the entry in the message buffer is a true statement: > > eval: Searching for program: No such file or directory, xyzzy In the current trunk, I get "No such file on directory". ELISP> (call-process "xyzzy") *** Eval error *** Searching for program: No such file or directory, xyzzy > Repository revision: cbc507779b8f56ce0abf596416e8e3847de88e10 > Repository branch: buster After Paul changes adding more strict file checking, there were some fixes to ease up. Perhaps you got a revision in between. I cannot say, because the repository revision of your report is likely some local change by you (it's not in the public repository). > (I also noticed debug-on-error is now 't' in "emacs -Q". C:> emacs.exe -Q --batch --eval "(princ debug-on-error)" nil --0000000000000cd9170593df689b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Oct 1, 2019 at 9:56 PM Richard Copley <rcopley@gmail.com> wrote:

= > In "emacs -Q", if the file "xyzzy" does not exist = on the path, (call-process "xyzzy") now leaves this in the *Messa= ges* buffer:
>
> =C2=A0 forward-sexp: Searching for program: Pe= rmission denied, xyzzy
>
> In older versions the entry in the m= essage buffer is a true statement:
>
> =C2=A0 eval: Searching f= or program: No such file or directory, xyzzy

In the curre= nt trunk, I get "No such file on directory".

=
ELISP> (call-process "xyzzy")
*** Eval error **= * =C2=A0Searching for program: No such file or directory, xyzzy

> Repository revision: cbc507779b8f56ce0abf596416e8e38= 47de88e10
> Repository branch: buster

Af= ter Paul changes adding more strict file checking, there were some fixes to= ease up. Perhaps you got a revision in between. I cannot say, because the = repository revision of your report is likely some local change by you (it&#= 39;s not in the public repository).

>=C2=A0 (I = also noticed debug-on-error is now 't' in "emacs -Q".=C2= =A0

C:> emacs.exe -Q --batch --eval "(princ debug-on-error)&= quot;
nil

--0000000000000cd9170593df689b-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 18:06:09 2019 Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 22:06:09 +0000 Received: from localhost ([127.0.0.1]:35138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQHZ-00083f-78 for submit@debbugs.gnu.org; Tue, 01 Oct 2019 18:06:09 -0400 Received: from mail-oi1-f181.google.com ([209.85.167.181]:38824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQHW-000837-4r for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 18:06:08 -0400 Received: by mail-oi1-f181.google.com with SMTP id m16so15909358oic.5 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 15:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yEEYxuLKL4626PLcu+iTuba6TxDNrCCC9tS2595Z6B8=; b=Aune3xjPxLpP9oD43sCZv8zYawIviv89Yy8N3Liwn7prCNUBB+3uxF9bhxReJIoq5P xoMXyk1Vil+OTLrBg0vRlZoYmgsx9lMI9rFCm41gnf2LlsVP8SrCfm0+xWjkKuJDKjiz aQw1xOtLSv764QZT23fQdDjE6J+3R6KQtGKJOEZ9NATOXehrkkqZ7qKtfiRiBhr+nAUn yzRmxXnIFP3Pg4Xr5RMFxtiKOBBE/i3vWVTvRwJqQ4LlgHJEGqEpScFruA8zhyIiRxlj ePkrFJ9ZsDJMb3fSKjMiy1JzVt9Isfa3t4KGAS7PwrrVSaYP2XbjH8yZ68xARgBbMwm+ XI/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yEEYxuLKL4626PLcu+iTuba6TxDNrCCC9tS2595Z6B8=; b=pIQhCSOMuu6/0p7gL1lV5AFQx1jD/eGCMAj8Q8i4fETMGF+jsZrWITLyQqrNrZN4G0 INHbG3d2qZqSp4KN2IVdUKguRYLp+elIlCz8pmMNF12zihzeSoV5cQfbkqZvQ9V46k+V Hcyuqq9Q2/Y1FE5Gqg8feq2x02IAeVzB7qQ57UbPVy1aVj+lK7LWT1fefzb5gCbGzNJb 68+PKvuOWfY8z0B2i82Xkb5b5ijQ5WcZV+2bsGT+xJ03Kj6lin481n5JOWC1B6j7M1no saLhG1nPMKQIqB4afFaFxXs8b4wuhM3IF76hLajqlJq8E2N1kZB3HsqPNYphbYFxQhBf 2gxA== X-Gm-Message-State: APjAAAV2fOnjklHzogfXAQ3aQx2xifFPjHUgeIyRWXixtf4WA6oUi6tE qQoFuczEIYfNj471KU0nCZvdgMMaso9Ynwdsts4= X-Google-Smtp-Source: APXvYqyCaVOXlqZg2qoThrgud7aTQmZSNekSreRp/CxBf2bBKmBmV3L8j8y2rIpT0+eTK0eUh0/TRItZKxl/YOAnlAQ= X-Received: by 2002:aca:5bd4:: with SMTP id p203mr161214oib.153.1569967560379; Tue, 01 Oct 2019 15:06:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Copley Date: Tue, 1 Oct 2019 23:05:34 +0100 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Juanma Barranquero Content-Type: multipart/alternative; boundary="000000000000bed14a0593e08eb7" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000bed14a0593e08eb7 Content-Type: text/plain; charset="UTF-8" On Tue, 1 Oct 2019 at 21:43, Juanma Barranquero wrote: > On Tue, Oct 1, 2019 at 9:56 PM Richard Copley wrote: > > > In "emacs -Q", if the file "xyzzy" does not exist on the path, > (call-process "xyzzy") now leaves this in the *Messages* buffer: > > > > forward-sexp: Searching for program: Permission denied, xyzzy > > > > In older versions the entry in the message buffer is a true statement: > > > > eval: Searching for program: No such file or directory, xyzzy > > In the current trunk, I get "No such file on directory". > > ELISP> (call-process "xyzzy") > *** Eval error *** Searching for program: No such file or directory, xyzzy > > > Repository revision: cbc507779b8f56ce0abf596416e8e3847de88e10 > > Repository branch: buster > > After Paul changes adding more strict file checking, there were some fixes > to ease up. Perhaps you got a revision in between. I cannot say, because > the repository revision of your report is likely some local change by you > (it's not in the public repository). > I get the same results in "emacs -Q" rebuilt from scratch from current pristine master, 2698d3dba2 (2019-10-01 23:15:03 2019 +0300). After building and running using this command...: git reset --hard 2698d3db && git clean -xfd && ./autogen.sh && ./configure && make && src/emacs.exe -Q ...the recipe below pops up the Lisp debugger. M-: (call-process SPC "xyzzy") RET c ;; debugger-continue On continuing in the debugger, it prints "forward-sexp: Searching for program: Permission denied, xyzzy" in the *Messages* buffer. --000000000000bed14a0593e08eb7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Tue, 1 Oct 2019 at 21:43, Juanma Barranquero <lekktu@gmail.com> wrote:
= On Tue, Oct 1, 2019 at 9:56 PM Richard Copley <rcopley@gmail.com> wrote:

= > In "emacs -Q", if the file "xyzzy" does not exist = on the path, (call-process "xyzzy") now leaves this in the *Messa= ges* buffer:
>
> =C2=A0 forward-sexp: Searching for program: Pe= rmission denied, xyzzy
>
> In older versions the entry in the m= essage buffer is a true statement:
>
> =C2=A0 eval: Searching f= or program: No such file or directory, xyzzy

In the curre= nt trunk, I get "No such file on directory".

=
ELISP> (call-process "xyzzy")
*** Eval error **= * =C2=A0Searching for program: No such file or directory, xyzzy

> Repository revision: cbc507779b8f56ce0abf596416e8e38= 47de88e10
> Repository branch: buster

Af= ter Paul changes adding more strict file checking, there were some fixes to= ease up. Perhaps you got a revision in between. I cannot say, because the = repository revision of your report is likely some local change by you (it&#= 39;s not in the public repository).

=
I get the same results in=20 "emacs -Q" rebuilt from scratch from current pristine master, 269= 8d3dba2 (2019-10-01 23:15:03 2019 +0300). After building and running using = this command...:

=C2=A0 git reset --hard 2698d3db = && git clean -xfd && ./autogen.sh && ./configure &a= mp;& make && src/emacs.exe -Q

...t= he recipe below pops up the Lisp debugger.

M-: (call-pr= ocess SPC "xyzzy") RET
c ;; debugger-continue<= /div>

On continuing in the debugger, it prints "forward-sexp: Searching for= program: Permission denied, xyzzy" in the *Messages* buffer.

--000000000000bed14a0593e08eb7-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 18:17:17 2019 Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 22:17:17 +0000 Received: from localhost ([127.0.0.1]:35148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQSK-0008MN-Rn for submit@debbugs.gnu.org; Tue, 01 Oct 2019 18:17:17 -0400 Received: from mail-qk1-f171.google.com ([209.85.222.171]:45888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQSG-0008Lz-Vb for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 18:17:13 -0400 Received: by mail-qk1-f171.google.com with SMTP id z67so12879121qkb.12 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 15:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lZX7vfnjJZuQSOK7przYEYmEhFn3NefF1A/SqKocYpg=; b=kC9VuBewCyZhAPJMom/I4AddCmobvU9jbReC4owK6Q2AzFu2RoyBv6K+ljR8M53vEQ cpQYffHE+wELy1j8nCqNlRg3WKkwDFgpr9syeIm3nPi3NcWXmSXBPSCJ3eGZIoEUl2P3 D4AvxDuHySohzji3Lugk52bNZuZFqQKrVE0t6BhpZbYFjIpDRHq5FyZs9nESnNAKAYKm ar6D7dKuw4bvyC+qCTDjPNI01Yur28IaJ1ivwHPnCoo85EMsjyN0BpXuhTk32bfTgdMo ZzQUQA2u8oo8SXTUHmO1VsIrSIbBdbtCgPZLYLIsMwE4zS3Z/ZtSo2Au7UxJ+5xCjpGU hafg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lZX7vfnjJZuQSOK7przYEYmEhFn3NefF1A/SqKocYpg=; b=ZCCU7WbCDsHjtoiIGXTpgF8gD1NV+z+QU0leqshlZ1XZqhGrqFujlpznPBzjagAStP Kbb/c31+6TlVSQNgAuRbH0hK26I3B821f2OLUv9+3VAISxI0ENR3WIjJ+Sw6445ZbjPu U3iyYkmrgSOuU8fgq+62yNXUOgcjukU0kXGGQWjdD82xqFFn80x2pGHUloDGVUbry0EY f1hL2Bp9Wc/ukEQ3FVd5UdnezmBTkBYmB3uMkyta42ZTWQVTLkDsc4MZ2rW8z1FM6lf2 7xgvPSNknWQDe2XqDPZj3w1xz6BbwMXH4XPQIqGGAZEsAazsTgZdyy/bA74UUTSY5rYC NNKw== X-Gm-Message-State: APjAAAXeW4yv1R4xc7dpHPP54XYCM1TcvJL1GHvEoEwXXz91OnAE6/L0 Ko9aW82mL0xePLqNzsXD/1OiUAwZPkNpD0kVd3I= X-Google-Smtp-Source: APXvYqxURo7QGq9OTgIe7qGfodn5ZmoT7cs7QJpEo5ZHNELbGrCJouelCR1xFaUo0f1igXyC+xxzPO3KA1wV8fSSwrM= X-Received: by 2002:a37:4802:: with SMTP id v2mr480530qka.496.1569968227442; Tue, 01 Oct 2019 15:17:07 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Juanma Barranquero Date: Wed, 2 Oct 2019 00:16:32 +0200 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Richard Copley Content-Type: multipart/alternative; boundary="0000000000008163310593e0b61d" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000008163310593e0b61d Content-Type: text/plain; charset="UTF-8" On Wed, Oct 2, 2019 at 12:06 AM Richard Copley wrote: > On continuing in the debugger, it prints "forward-sexp: Searching for program: Permission denied, xyzzy" in the *Messages* buffer. With that very same revision, just bootstrapped a few minutes ago, and with your recipe, I get forward-sexp: Searching for program: No such file or directory, xyzzy This is on Windows 10, with a MSYS2 64-bit build. --0000000000008163310593e0b61d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Oct 2, 2019 at 12:06 AM Richard Copley <= ;rcopley@gmail.com> wrote:
<= br>
> On continuing in the debugger, it prints "forward-sexp: S= earching for program: Permission denied, xyzzy" in the *Messages* buff= er.

With that very same revision, just bootstrappe= d a few minutes ago, and with your recipe, I get

f= orward-sexp: Searching for program: No such file or directory, xyzzy

This is on Windows 10, with a MSYS2 64-bit build.
--0000000000008163310593e0b61d-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 18:29:12 2019 Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 22:29:12 +0000 Received: from localhost ([127.0.0.1]:35157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQds-0000Ho-3q for submit@debbugs.gnu.org; Tue, 01 Oct 2019 18:29:12 -0400 Received: from mail-oi1-f173.google.com ([209.85.167.173]:32970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQdp-0000HY-VG for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 18:29:10 -0400 Received: by mail-oi1-f173.google.com with SMTP id e18so15963569oii.0 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 15:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pwsl8DxoERO0hV5+iIIi+k84LEB5ZZRDPFthMK1la1Y=; b=NepliW6g6YYuy6avpMoD06d+xKJgpacRhu4Cz4jDnGo1+d7RMpuNLWQOFpX6GS67q8 HsJfu4ABO4xOM8OGX/B6oVpQ4c9th4jivo5gN53amwA7RDA5EBj/aPE8/ctUnzdHe2dW v/7Iyk0mt7OzN8NLP2v0wAfGRd0ETAbbGQnT+ffXEnCoYslAVfn/l5NEK0ZUdWdLOQEW MAvqv035GJFrVZ9cpwK77FaIAKa1gLKrLvqlPkALD0vOSedghFUaRzu/NWtXdCN5xw6s agdVz3Zq392ZqE7cRQpB4vVD+vii8tok9Q3aryvvwt7mvEiWmjpgo/tdBlTRELc56Ovj dGWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pwsl8DxoERO0hV5+iIIi+k84LEB5ZZRDPFthMK1la1Y=; b=bIx+D5pr9qmciqKhewtp+VEmWGfmkbKld1nMBDHiKb44fdrausmkBat4+K0P0Qo1e4 3vs2fVZdQs7+mRPvk3Q/t7ays1A/kn5UFpU/qeHApQjucWge+o4VjznXIGx6arNI7TI6 uDrrS5CvoUqi6j1brvOWLFRIzmeuVoxNiHOPxhzRYWsIlqJzO9q1qUZDmTsK76i2pv6L 31pG0oe5XSvifMRodP1a+ndpRNLPQlDz3NKHbidskjR3p9//IxJVjBddIy29DJVh99PP 5r8lRrYjAHKSeRTtmS+P4F+lCx1apHPew4lCATvZ4LpD0+zNsMT+KEjRpK7r26lAgyOr tDJw== X-Gm-Message-State: APjAAAVQzG6/s4T3LujCP/lE7IPO5ICPbBWD7K7WkRHJ5tkfk+WA4qmI EBisycpzFLDOqhkoBDSaS4+LNA2KTnpD3IRQTSI= X-Google-Smtp-Source: APXvYqw3VCv6+HCXZXp9tEX8TBbHJ5bvzhBMfrR9cWFEOkECmPZPmdNnpHWz5sx3YbB4lJsDZNNXvgj8/qFQlqqIZlw= X-Received: by 2002:aca:3144:: with SMTP id x65mr256586oix.117.1569968944188; Tue, 01 Oct 2019 15:29:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Copley Date: Tue, 1 Oct 2019 23:28:38 +0100 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Juanma Barranquero Content-Type: multipart/alternative; boundary="0000000000003a13760593e0e11a" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000003a13760593e0e11a Content-Type: text/plain; charset="UTF-8" On Tue, 1 Oct 2019 at 23:17, Juanma Barranquero wrote: > > > On Wed, Oct 2, 2019 at 12:06 AM Richard Copley wrote: > > > On continuing in the debugger, it prints "forward-sexp: Searching for > program: Permission denied, xyzzy" in the *Messages* buffer. > > With that very same revision, just bootstrapped a few minutes ago, and > with your recipe, I get > > forward-sexp: Searching for program: No such file or directory, xyzzy > > This is on Windows 10, with a MSYS2 64-bit build. > Same here. No big deal, I guess I'll get used to it. --0000000000003a13760593e0e11a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 1 Oct 2019 at 23:17, Juanma Barranquero <lekktu@gmail.com> wrote:


On Wed, Oct 2,= 2019 at 12:06 AM Richard Copley <rcopley@gmail.com> wrote:

> On conti= nuing in the debugger, it prints "forward-sexp: Searching for program:= Permission denied, xyzzy" in the *Messages* buffer.

With that very same revision, just bootstrapped a few minutes ago, = and with your recipe, I get

forward-sexp: Searchin= g for program: No such file or directory, xyzzy

This is on Windows 10, with a MSYS2 64-bit build.
=C2=A0
Same here. No big deal, I guess I'll get used to= it.

--0000000000003a13760593e0e11a-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 18:33:48 2019 Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 22:33:48 +0000 Received: from localhost ([127.0.0.1]:35168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQiK-0000Qc-Cw for submit@debbugs.gnu.org; Tue, 01 Oct 2019 18:33:48 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:33870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQiI-0000QP-LT for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 18:33:46 -0400 Received: by mail-qk1-f176.google.com with SMTP id q203so12985801qke.1 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 15:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+CPAPSnAwiLEk717E+ttyUmMYs6FjS7NwcvXkSNz4fo=; b=iQlSDwRoIXOncwVU1e1ms3Rhb+MHZkxAWS6wZmcrHwTsudRGcntnSP9KdD93iKLDsv 7wpP36LQk5rGg65qi06UAIC0Lbsgv3Aa5OXqKKcz/hDlsuodMrfpSxIrEFdJTBteIrLn u3dKtUMuj2+8fGZqJB9RryiBqqxlMW+N7CN7ieDsL7iVPCEHfvHn+rGCikfo7guiNb7x Tummja0gyug/xgwkJTv4TSFq8akY7hG4SOS4TkcY+wkXWbDxxRW/iI8IXQ2i+nStacoj rL3YajSZFUNeCMuRqSB7VQtIghJhaCvMWWoQ38PciFMOORFx9yjV/QuwwEdqEUIphAnJ If1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+CPAPSnAwiLEk717E+ttyUmMYs6FjS7NwcvXkSNz4fo=; b=HRmhqvvc1c/lv3ourP27eUUHwsZLRSMm+N5fv68PjhCjpC5s7iEWAIw/ymD8LkfiqT eQuxrL0bmc9cEwXkXgGoxvFAlrLmEAv6i3lWgAv8vRYdN4muwQwE1r6QT2/+AbaELSqi IOtEgYzJgGYrDTDRuRUMN8y1Fhrv2dJU/wJwX7qUrFCUwM/O9xuOytCS61UvxHX0MoA9 6lvUMCcyeFoo961kXztAWhob/FifTovPXCxkIEd2Bxfh/m3ikWbm3Sj7ylODaCKW/X+t WAqXK03JiBD85hiZ48QTXS3hqyNpYH3UgcNm/h9Lu0ke2G0B1dQsjsgOB+GmEMwWndDd bO/w== X-Gm-Message-State: APjAAAUoWST7ExbXdJSjoGsvjUaGt8LWe5Y1flGEZwpULMgFxKcI+VM6 /k18V2C7ATrbqbEM8uv18GWbB1QaBMwKQK+PPZk= X-Google-Smtp-Source: APXvYqwYqIvG5lLVqyi0ztXVgHBRDr/NgfxoxlIQHfSwhct9Sc23D9TjF6MlbPeH6MAaPvbvTkHS+Zo666RpXRU6l78= X-Received: by 2002:a37:a411:: with SMTP id n17mr599009qke.216.1569969221017; Tue, 01 Oct 2019 15:33:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Juanma Barranquero Date: Wed, 2 Oct 2019 00:33:06 +0200 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Richard Copley Content-Type: multipart/alternative; boundary="000000000000ba25010593e0f198" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000ba25010593e0f198 Content-Type: text/plain; charset="UTF-8" Assuming that with "Same here" you're talking about the building environment and operating system (because obviously the messages are dissimilar)... That's puzzling. --000000000000ba25010593e0f198 Content-Type: text/html; charset="UTF-8"
Assuming that with "Same here" you're talking about the building environment and operating system (because obviously the messages are dissimilar)... That's puzzling.
--000000000000ba25010593e0f198-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 18:40:37 2019 Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 22:40:38 +0000 Received: from localhost ([127.0.0.1]:35180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQot-0000bj-CB for submit@debbugs.gnu.org; Tue, 01 Oct 2019 18:40:35 -0400 Received: from mail-oi1-f181.google.com ([209.85.167.181]:32818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQor-0000bQ-1o for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 18:40:33 -0400 Received: by mail-oi1-f181.google.com with SMTP id e18so15984760oii.0 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 15:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l2P/vEmWkcDcECd7M4lfPuyRwQ/P1xcFknm+7J+tQbo=; b=MPptiNngpNiFh1QK1bgO2gp3Q8qLVOK4cWvrd3SWSJGYxhb9UGROsrr0JBAhF2086o DjbY0vatQGdDb2r1LDVPPgzRODLK+2ajc5DMKdhMUcSyTdHsR4+hQ7wnbaz3YYR7Mmor I5R1oEIZUnyDM5KCO24T1cOSY0H300ThhF+bPgKOgg5cP187sFQ4OYeXVft+8bLOfUq0 6xR7bxOgmuxoAeOjGe0VxSyuFBmEipu+s5MW8gCVMyq4gNxvLD+1YJanJbua4JEceo1T LzGdv5L5LcbNavS0k1lmDcodfDY8vM1F1alc7CDAPOAupicquUZLZCbBcpsHVUa0hGBW 0jtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l2P/vEmWkcDcECd7M4lfPuyRwQ/P1xcFknm+7J+tQbo=; b=raNwbi9vrfUUwQqnlAIzMDv+wNJCNiv5qRC3DqUSvupgLAt/4BuDEnqtXvReh97vw9 YDJ7xeM8NjdhLg+zi3Z9S3O5PhzEcWuDVm5XBkGs/vo9vs0OwtEHcwMooBIxTKcRp4PU Mj113ii+2chC9LZGuDi/XR63rgc3Akd9Ni6iOaGibvBUdpzhLEW8f0o5pw+UFhH4ZFFM 7Hxt2ptf4WQW2ABuPRtMzkkngOjTRh1e9sJMYZtclwg4Tg4z3klMcjbPT7c/64SQr30m VxxN/S8qrvvE0FNgffIGNUIerb3Bb60Cq7JADuuaXVNv1mHq25mAiymaenx9ZzJxxPoa +qFA== X-Gm-Message-State: APjAAAXxlyU0O+4WvFY2W5EvjPbaQu54Sf8+Ml4keJEr9G/ZDzw1quVx wNIEnxuGEM9Ea5x65dSL8mLVsom6Ivb3ujkepso= X-Google-Smtp-Source: APXvYqxASIPOzWojQ/Jub5p8KcpJLeYtRWCkKCsmXKyOevE55rwnC+fBY8+Swp9LaUlynSULFT7Dm49Ury3KH1XlqjI= X-Received: by 2002:aca:c5cb:: with SMTP id v194mr304775oif.106.1569969626360; Tue, 01 Oct 2019 15:40:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Copley Date: Tue, 1 Oct 2019 23:40:00 +0100 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Juanma Barranquero Content-Type: multipart/alternative; boundary="000000000000e32f6f0593e109db" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e32f6f0593e109db Content-Type: text/plain; charset="UTF-8" On Tue, 1 Oct 2019 at 23:33, Juanma Barranquero wrote: > Assuming that with "Same here" you're talking about the building > environment and operating system (because obviously the messages are > dissimilar)... That's puzzling. > Yes. --000000000000e32f6f0593e109db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 1 Oct 2019 at 23:33, Juanma Barranquero <lekktu@gmail.com> wrote:
Assu= ming that with "Same here" you're talking about the building = environment and operating system (because obviously the messages are dissim= ilar)... That's puzzling.

Yes.

--000000000000e32f6f0593e109db-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 19:56:32 2019 Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 23:56:32 +0000 Received: from localhost ([127.0.0.1]:35226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFS0N-0002b5-Vw for submit@debbugs.gnu.org; Tue, 01 Oct 2019 19:56:32 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:47052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFS0L-0002ar-JQ for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 19:56:30 -0400 Received: by mail-qk1-f178.google.com with SMTP id 201so13101750qkd.13 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 16:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Oikl5LtqKTOYesTXb/Damh3rtINu0Eo2FrYv6ksg7I0=; b=Zn0GmVDnOyqx/uAyg9q/Z1xJugOZ8jSw1oeUkJ8F/6R1Qxm0bpb6IsSEJsIvi1u2jN C6Uxq99u2m0gKbHVD7aR0Pv7lRCERJkJLhmaGCO1GC23CS7UirvxBV0O8cITNKQEEiJt LEDgKapL3huT5Q7OSDZCrWkIHZZsoxBRXufXjPA/hHaQi7xdYQLVwvoszyzooyBDwuX3 apYrNvRIkSDN7/PP8O3aJQ20Yzj3AjJL7pMbx8KjtoS3zHJ9DUO3ug9sL/kpFyI7TUaN k9rq2z0jGTVg5JlkxLw4RE4llaK+CEkGWVRWjZJ/UMUYRs6tUj82dLkpOSMNeYR8tyfr aTWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Oikl5LtqKTOYesTXb/Damh3rtINu0Eo2FrYv6ksg7I0=; b=nZh94p9JM+10G5TdWbkbPIQO6uphs5iTKdXVbCBnaadcXeySn/lGGtMCrMDvc7WDQu JUG8LiODtwfuaby9mIPfjJlAnwYLyvgz3xxtNSL7ym+et967GZjHS7prt37wOw10exZA MRy1zqrdFujZU9n+hnwYIZ4gkrNpy7jMkdo4zRjh8m69UR7QA5gLcoj1klHyQxk1iePF mJrRDwuZNJchuhAh3mi0FvLMDoVHoVNg+FJBzKcyOEAkII4t8P2ScStAtokQeDBJUyVP I4f2FfHkuZR+Q7xZFwxvvUrR/GV4/MEEscGIb9oGj+ik3tAr9+ivOt993V41p9gSUErE VsNw== X-Gm-Message-State: APjAAAVn1V8ZjKQCjqLN6QDeQiavafMKHdxRBD5uakSlfgQGrhfc1ZeL +KgpT0c2yWti9fIfctdhr6OTfiKdMsY5fZRIAwc= X-Google-Smtp-Source: APXvYqyoShMtZ9UfDMuEbXNpD9hl5ljiTKCb3WoNuePeh0r8/+rh9biotZSFJKcRuROM48il/4e1YIfAC8ygUNvjdp4= X-Received: by 2002:a05:620a:6db:: with SMTP id 27mr884259qky.281.1569974183833; Tue, 01 Oct 2019 16:56:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Juanma Barranquero Date: Wed, 2 Oct 2019 01:55:49 +0200 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Richard Copley Content-Type: multipart/alternative; boundary="00000000000088bbbf0593e2198b" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000088bbbf0593e2198b Content-Type: text/plain; charset="UTF-8" On Wed, Oct 2, 2019 at 12:40 AM Richard Copley wrote: >That's puzzling. Ok. I get your message if I add to PATH a non-existent (or, I suppose, non-accesible) directory. So, if you have such a directory in your PATH, the message you get is correct, because it happens before call-process can totally determine that it can not find "xyzzy". --00000000000088bbbf0593e2198b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 2, 2019 at 12:40 AM Richard Copley <rcopley@gmail.com> wrote:

= >That's puzzling.

Ok.

<= div>I get your message if I add to PATH a non-existent (or, I suppose, non-= accesible) directory.

So, if you have such a direc= tory in your PATH, the message you get is correct, because it happens befor= e call-process can totally determine that it can not find "xyzzy"= .
--00000000000088bbbf0593e2198b-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 05:21:22 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 09:21:22 +0000 Received: from localhost ([127.0.0.1]:35371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFap0-0007wH-DZ for submit@debbugs.gnu.org; Wed, 02 Oct 2019 05:21:22 -0400 Received: from quimby.gnus.org ([80.91.231.51]:44830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFaoy-0007w7-Ja for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 05:21:21 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFaou-0007h6-HS; Wed, 02 Oct 2019 11:21:18 +0200 From: Lars Ingebrigtsen To: Richard Copley Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found References: Date: Wed, 02 Oct 2019 11:21:16 +0200 In-Reply-To: (Richard Copley's message of "Tue, 1 Oct 2019 20:43:42 +0100") Message-ID: <871rvvwlir.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Richard Copley writes: > (I also noticed debug-on-error is now 't' in "emacs -Q". This isn't in > the NEWS, unless I missed it?) That variable it not `t', but there's a new variable called `eval-expression-debug-on-error' that's in effect when you `M-:', and `debug-on-error' is bound to whatever that variable is in that command [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Richard Copley writes: > (I also noticed debug-on-error is now 't' in "emacs -Q". This isn't in > the NEWS, unless I missed it?) That variable it not `t', but there's a new variable called `eval-expression-debug-on-error' that's in effect when you `M-:', and `debug-on-error' is bound to whatever that variable is in that command. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 06:08:01 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 10:08:01 +0000 Received: from localhost ([127.0.0.1]:35525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbY9-0000m4-Ga for submit@debbugs.gnu.org; Wed, 02 Oct 2019 06:08:01 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:57188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbY7-0000lo-78 for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 06:08:00 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46jsJs3wcWz1rfL3; Wed, 2 Oct 2019 12:07:57 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46jsJs0k5Nz1qqkQ; Wed, 2 Oct 2019 12:07:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id AKFgRRviBiZl; Wed, 2 Oct 2019 12:07:56 +0200 (CEST) X-Auth-Info: CNNYsx7XA0CKv8KRQZSNpwHXCMgmB0NVPc1MRQ5jinkP82PhUymBXyDux049Er1A Received: from igel.home (ppp-46-244-186-200.dynamic.mnet-online.de [46.244.186.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 2 Oct 2019 12:07:56 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id C2C0A2C0195; Wed, 2 Oct 2019 12:07:52 +0200 (CEST) From: Andreas Schwab To: Juanma Barranquero Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found References: X-Yow: I OWN six pink HIPPOS!! Date: Wed, 02 Oct 2019 12:07:52 +0200 In-Reply-To: (Juanma Barranquero's message of "Wed, 2 Oct 2019 01:55:49 +0200") Message-ID: <87a7aja29z.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 37576 Cc: Richard Copley , 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Okt 02 2019, Juanma Barranquero wrote: > So, if you have such a directory in your PATH, the message you get is > correct, because it happens before call-process can totally determine that > it can not find "xyzzy". No, non-existing PATH elements are supposed to be ignored. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 06:19:20 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 10:19:20 +0000 Received: from localhost ([127.0.0.1]:35534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbj6-00012Z-2j for submit@debbugs.gnu.org; Wed, 02 Oct 2019 06:19:20 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:34773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbj3-00012L-Ez for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 06:19:18 -0400 Received: by mail-qk1-f170.google.com with SMTP id q203so14418911qke.1 for <37576@debbugs.gnu.org>; Wed, 02 Oct 2019 03:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R899jCS6mfz4yDfMTgNnCX4QuZx+XmxtyK1XiCnQcNg=; b=OYnkB+s63FDK+3ohRfPEagsGfjx03+RIZ+7c2zA++tjDD32W1F4BDERFI6bEozM3rR Yyu2pyJBxw25hPza1/QL6XYtbu0YFP9oh6p6MBh1nSyBlxUb58yNQYxoJFqBG5KFahca 8WrjZPGd34cx/8GvoQA6pylOKyB8M6RLnln4mNTMJcaF2DpsktmuJ9aqxfpnpKEseOEe 2L8FhfQlQeERRWJ15GknIs+0B9GAwzBcAO19WMvSphd0HHq1aOy/sPt2SdYBCL8CLdrB No8PlkT+3pTTd9VhMlh9czA6MGMlxaSTaBRgYkaokhChR7z26/u8W/unN0CQRR6ARld3 zWow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R899jCS6mfz4yDfMTgNnCX4QuZx+XmxtyK1XiCnQcNg=; b=nM/HA2XegloIXiaDTaVluel7qadn5fkiDDLpR+tagzE7fxRkI6eRIRvt3LcUoH5rB1 ArLGZs9kYajrxotyQbO+POFNEpnJdgFVu1LMfhVZHK2Ysd8FL2oIp+AO8AlXYcWqudpa wxf8TL8wlEHF686p9d+1hOecN+SVQgK22S5dJcY3iYzo5lw8N0pMMMJNHJfwxurFOdvB PZdFbAuxVjEDCIpIM3m1Sd+ur8/60kGQVIoQi/zBYkw1+fY+nlzYJgG6xSnuYB+wFHQ/ qI5SkMuzLznHuvcR+Kw9Wku2SxwPlBjfzly2BRw2+F1Bsp+iWeOE1n2ENylvEFn7fB6Z wdOg== X-Gm-Message-State: APjAAAXSUJfSdMty5JInCGRVKKZSsplvJbo1KeXFtYdjLRvCD1l7Oulv 2UjVU9pdiiohkD5HatxbQkWNKdLGlfDBMhssckY= X-Google-Smtp-Source: APXvYqyB6Zx4HyY0v5a6mcPJ9HrtgH7wJyb+AyCNHcZ5dtLpYQAgr0kFlObcdMR+hw2p7iAEenxbVqwRFo2LwxWJv0g= X-Received: by 2002:a37:912:: with SMTP id 18mr2870888qkj.185.1570011551704; Wed, 02 Oct 2019 03:19:11 -0700 (PDT) MIME-Version: 1.0 References: <87a7aja29z.fsf@igel.home> In-Reply-To: <87a7aja29z.fsf@igel.home> From: Juanma Barranquero Date: Wed, 2 Oct 2019 12:18:35 +0200 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Andreas Schwab Content-Type: multipart/alternative; boundary="000000000000d52d610593eacc10" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: Richard Copley , 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000d52d610593eacc10 Content-Type: text/plain; charset="UTF-8" On Wed, Oct 2, 2019 at 12:07 PM Andreas Schwab wrote: > No, non-existing PATH elements are supposed to be ignored. Ok, let me rephrase this. Non-existent PATH element are ignored when searching, if the program is found. 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. --000000000000d52d610593eacc10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 2, 2019 at 12:07 PM Andreas Schwab <schwab@linux-m68k.org> wrote:

> No, non-existing PATH elements are supposed = to be ignored.

Ok, let me rephrase this.

Non-existent PATH element are ignored when searching, if the progr= am is found.

When the search=C2=A0fails, Emacs is = now reporting "permission denied" if some PATH element was non-ex= istent, or "no such file or directory" otherwise. At least on Win= dows.

--000000000000d52d610593eacc10-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 07:02:51 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 11:02:52 +0000 Received: from localhost ([127.0.0.1]:35553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFcPD-00027p-KP for submit@debbugs.gnu.org; Wed, 02 Oct 2019 07:02:51 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:41470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFcP8-00027e-Uz for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 07:02:47 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46jtX54gD1z1rfLc; Wed, 2 Oct 2019 13:02:45 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46jtX54LzYz1qqkS; Wed, 2 Oct 2019 13:02:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id rtJ5mKj0aebL; Wed, 2 Oct 2019 13:02:44 +0200 (CEST) X-Auth-Info: SZqygtuAOv7PGLA2W63uWpHaqcbSt1x8ZCRQEXJEPRqtbu2uft4xJEChudcBlc7l Received: from igel.home (ppp-46-244-186-200.dynamic.mnet-online.de [46.244.186.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 2 Oct 2019 13:02:44 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 44F0B2C0195; Wed, 2 Oct 2019 13:02:43 +0200 (CEST) From: Andreas Schwab To: Juanma Barranquero Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found References: <87a7aja29z.fsf@igel.home> X-Yow: I was in EXCRUCIATING PAIN until I started reading JACK AND JILL Magazine!! Date: Wed, 02 Oct 2019 13:02:43 +0200 In-Reply-To: (Juanma Barranquero's message of "Wed, 2 Oct 2019 12:18:35 +0200") Message-ID: <875zl79zqk.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 37576 Cc: Richard Copley , 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Okt 02 2019, Juanma Barranquero 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. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 07:48:12 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 11:48:13 +0000 Received: from localhost ([127.0.0.1]:35605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFd76-0007Nj-0D for submit@debbugs.gnu.org; Wed, 02 Oct 2019 07:48:12 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:38533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFd74-0007NV-E2 for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 07:48:10 -0400 Received: by mail-qk1-f176.google.com with SMTP id u186so14614284qkc.5 for <37576@debbugs.gnu.org>; Wed, 02 Oct 2019 04:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jtdHK21mRaBr7e7yvzE5mlnoOTh0+YGsTYcTlePwDUg=; b=b7nqCyImQe8RLddHDpv9lMRInQSbo+4oe5E0SHnr4G34dq6UvVuW0Yw/AejNb9B8rG /wz/4RPXL7+FENTh+Euqtsnk0CLBj3D7hNP7lMfLuQZOFktvkQfeeWkfPVq0++VUQDpj 0Wa0tmeVGtXeNWPLKMvokfeDKCtboBFn+AHLjviJEVgradmTHvWiGZLow81Ddrmd0g5d Q29/mgJhwAbLw8Mtw3xoppLiovVe/dO36T8XV9k0e5kaxHh3A8e+MjdbzMKlrlQTExAf Vi5LEBOV+4C26khQKO0YSdnD8d+tyDlJ6ou7b80oXTATP5HGS9BkCtsmFXoT12nifK/d Pfnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jtdHK21mRaBr7e7yvzE5mlnoOTh0+YGsTYcTlePwDUg=; b=D0LwkUrEH4YlHDH3CGekb/yveF4f7c4VmMGmyi3VXvp/2xTYy89xEjrQFAlfhRMN/5 ptddXWWRWO+ULCn7ggr+CwlqNp+oCxE9f8RvDPjd0g7+heTiBnrvklf1mRA9isrS/cAE 0wrT6loO0xyRr0xKwTCHHyVtCF54ss286556N5gbFZNolSatxoriYrOHH8k+znxJD60a pPq8VybttipquDXjRstA+W8PdUpZbZDoQexiH7TQdRa8iy5oIkDNG6UTtGjgcTBHH0cK uj1/y6U+q18+8KapzisgvPkPThaz3c72UiPJU83aqVw2NrSBwdqc7dUGkRHGmX6QRn/a z19g== X-Gm-Message-State: APjAAAWzljbmk3gz3/OI9uyqSkDst1WN9ww4rziaVALuyrzlHhPZJUQK jn/VnCQSkDfBCTDub4Za/iilTs+ym3TSxhFYbnA= X-Google-Smtp-Source: APXvYqxWvzyqMgUp5022EL/nZcHs8bqO+rlJKqnB8gvxVGaZ4GLJy42Pkfbd41GTRAslQIZIUS8ixne2disV7KUTLTM= X-Received: by 2002:ae9:c219:: with SMTP id j25mr3144627qkg.277.1570016884686; Wed, 02 Oct 2019 04:48:04 -0700 (PDT) MIME-Version: 1.0 References: <87a7aja29z.fsf@igel.home> <875zl79zqk.fsf@igel.home> In-Reply-To: <875zl79zqk.fsf@igel.home> From: Juanma Barranquero Date: Wed, 2 Oct 2019 13:47:28 +0200 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Andreas Schwab Content-Type: multipart/alternative; boundary="000000000000b403a70593ec0a86" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: Richard Copley , 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000b403a70593ec0a86 Content-Type: text/plain; charset="UTF-8" On Wed, Oct 2, 2019 at 1:02 PM Andreas Schwab wrote: > And that is a bug. A PATH element pointing to a non-existing directory > should be ignored. Just out of curiosity... Says who? I mean, there's a standard (POSIX or whatever) that says what kind of error message you should give when searching the PATH and not finding what you were looking for? Or it just states that non-existing elements should be ignored, in the sense of not stopping the search? Not arguing, genuinely curious. --000000000000b403a70593ec0a86 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 2, 2019 at 1:02 PM Andreas Schwab <schwab@linux-m68k.org> wrote:
<= br>
> And that is a bug.=C2=A0 A PATH element pointing to a non-exis= ting directory
> should be ignored.

Just out of cur= iosity... Says who? I mean, there's a standard (POSIX or whatever) that= says what kind of error message you should give when searching the PATH an= d not finding what=C2=A0you were looking for? Or it just states that non-ex= isting elements should be ignored, in the sense of not stopping the search?=

Not arguing, genuinely=C2=A0curious.
--000000000000b403a70593ec0a86-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 08:58:43 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 12:58:44 +0000 Received: from localhost ([127.0.0.1]:35676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFeDL-0002ie-JW for submit@debbugs.gnu.org; Wed, 02 Oct 2019 08:58:43 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:60430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFeDG-0002iS-TN for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 08:58:42 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46jx5n4c5Pz1rVvK; Wed, 2 Oct 2019 14:58:37 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46jx5n2gyDz1qqkQ; Wed, 2 Oct 2019 14:58:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id D6oo64vsq3ES; Wed, 2 Oct 2019 14:58:36 +0200 (CEST) X-Auth-Info: k1gvTWLzyTQCCet6R7b9v+a37yFs6WhYKy3bfIPFy/xSXGTauOneOPQrKFR1JqYj Received: from igel.home (ppp-46-244-186-200.dynamic.mnet-online.de [46.244.186.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 2 Oct 2019 14:58:36 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id BE5CD2C0195; Wed, 2 Oct 2019 14:58:35 +0200 (CEST) From: Andreas Schwab To: Juanma Barranquero Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found References: <87a7aja29z.fsf@igel.home> <875zl79zqk.fsf@igel.home> X-Yow: I am a jelly donut. I am a jelly donut. Date: Wed, 02 Oct 2019 14:58:35 +0200 In-Reply-To: (Juanma Barranquero's message of "Wed, 2 Oct 2019 13:47:28 +0200") Message-ID: <871rvv9udg.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 37576 Cc: Richard Copley , 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Okt 02 2019, Juanma Barranquero wrote: > On Wed, Oct 2, 2019 at 1:02 PM Andreas Schwab wrote: > >> And that is a bug. A PATH element pointing to a non-existing directory >> should be ignored. > > Just out of curiosity... Says who? That's how the shell behaves. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 09:18:12 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 13:18:12 +0000 Received: from localhost ([127.0.0.1]:35709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFeWC-0005GB-5C for submit@debbugs.gnu.org; Wed, 02 Oct 2019 09:18:12 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:44192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFeWB-0005Fx-0G for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 09:18:11 -0400 Received: by mail-qt1-f170.google.com with SMTP id u40so26246163qth.11 for <37576@debbugs.gnu.org>; Wed, 02 Oct 2019 06:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qAG5vTzCa1Q+V1jkuU8bG/6oi9nekGDLIw4dmMn2kDI=; b=HRj72X1d4lJivmDMElD+ehnO1FZyVFIpDYcuKl8hpteU4WBi224ED0a2BMe4r+Po8n PKg2t/OHkuv7j98z6RG2bpb5VGBPSolceJMSYXkHAeOTA66AQncyj3OQK+p43WhPZeWw vq6VNA2ZmF1FMxoSVXUCLdMutB2Ct8gaYShrmLtPazor+1fKd7SicemzOG1naHs38hEL yYaDIyo8J6TfmSARVrBmRAfMuXrU3sz+nBIQNXGBtZlpTAyun1BYQEwBzRM5LggoK5XH OKbphmfuFcztMEaKXDNcrIfKCv3brH9a9SN+wqmwsnxTT99qb1iX+7zLQkA/0DIQUiRC 0sfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qAG5vTzCa1Q+V1jkuU8bG/6oi9nekGDLIw4dmMn2kDI=; b=hXXcGK5SK27jMFqaO93QfaJrGUBfvrkEzW91TlfjE8V7ZQea0p4+mOQLU3HFZc7lW5 Eg5c7WY98UTrUg7hwTQAOP/M6ynKQPkTjz+jq0GnV5yHAapC9oRQVXnZbt3Stf5X/Q+a iJ9UD4zyX+pe2PuZKGcGQABN45S8AgqCUneefaIct5tseljRj8OnmXVR8DCcOweHMzBV f3FZKguzul+k10WgXJvqNl/izMQAlHBj3NZTT7CCrS+rNTTF/5Vu/DgDYsO/u62jR+bx Uo6m1hDezrGigynoBKuLblF7vu69SkSI7SaIsz3PLxCT2c4H7wyglgz0d4WEBbZGHfAx MIKw== X-Gm-Message-State: APjAAAVWpQooXL/STPsL3ohmM46ojCxc+gF3kZl2KfiAcTE310FyqtiE JDcJMp4EjLyvL2j3mY/RViyqVu9Itz36BgP5ihU= X-Google-Smtp-Source: APXvYqy/0ONt1BvzeSLSYP0fIXCPAoEvRIv0rJ+f3mC5z7OaXTF/QPfvDZZ7LZ7J3LMmWq9Z6n+fXQg6xWdNL1VpfXU= X-Received: by 2002:a05:6214:70c:: with SMTP id b12mr2904654qvz.87.1570022285251; Wed, 02 Oct 2019 06:18:05 -0700 (PDT) MIME-Version: 1.0 References: <87a7aja29z.fsf@igel.home> <875zl79zqk.fsf@igel.home> <871rvv9udg.fsf@igel.home> In-Reply-To: <871rvv9udg.fsf@igel.home> From: Juanma Barranquero Date: Wed, 2 Oct 2019 15:17:28 +0200 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Andreas Schwab Content-Type: multipart/alternative; boundary="0000000000009a198b0593ed4cdb" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: Richard Copley , 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000009a198b0593ed4cdb Content-Type: text/plain; charset="UTF-8" > That's how the shell behaves. Ok. In this specific case, which is trying to run a program and failing from inside Emacs, I think it could be argued both ways: that it is more informative to know there's something a bit off in your PATH, or that it is irrelevant, because the relevant info is that the program couldn't be run. I suppose the answer to "one way or the other" is "Yes, as long as it is consistently done in all platforms." --0000000000009a198b0593ed4cdb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> That's how the shell behaves.

Ok.

In this specific case, which is trying to run a progr= am and failing from inside Emacs, I think it could be argued both ways: tha= t it is more informative to know there's something a bit off in your PA= TH, or that it is irrelevant, because the relevant info is that the program= couldn't be run.

I suppose the answer to "one way or the o= ther" is "Yes, as long as it is consistently done in all platform= s."

--0000000000009a198b0593ed4cdb-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 12:48:42 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 16:48:42 +0000 Received: from localhost ([127.0.0.1]:38241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFhnu-0004ic-7m for submit@debbugs.gnu.org; Wed, 02 Oct 2019 12:48:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFhns-0004iM-0q for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 12:48:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iFhnm-0000lg-3g; Wed, 02 Oct 2019 12:48:34 -0400 Received: from [176.228.60.248] (port=3915 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iFhnk-0000Ct-RI; Wed, 02 Oct 2019 12:48:33 -0400 Date: Wed, 02 Oct 2019 19:48:13 +0300 Message-Id: <838sq3856a.fsf@gnu.org> From: Eli Zaretskii To: Andreas Schwab In-reply-to: <875zl79zqk.fsf@igel.home> (message from Andreas Schwab on Wed, 02 Oct 2019 13:02:43 +0200) Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found References: <87a7aja29z.fsf@igel.home> <875zl79zqk.fsf@igel.home> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37576 Cc: rcopley@gmail.com, lekktu@gmail.com, 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andreas Schwab > Date: Wed, 02 Oct 2019 13:02:43 +0200 > Cc: Richard Copley , 37576@debbugs.gnu.org > > On Okt 02 2019, Juanma Barranquero 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 13:09:50 2019 Received: (at 37576) by debbugs.gnu.org; 2 Oct 2019 17:09:50 +0000 Received: from localhost ([127.0.0.1]:38245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFi8M-0005IX-4N for submit@debbugs.gnu.org; Wed, 02 Oct 2019 13:09:50 -0400 Received: from mail-oi1-f180.google.com ([209.85.167.180]:37111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFi8K-0005IH-Fn for 37576@debbugs.gnu.org; Wed, 02 Oct 2019 13:09:49 -0400 Received: by mail-oi1-f180.google.com with SMTP id i16so21594oie.4 for <37576@debbugs.gnu.org>; Wed, 02 Oct 2019 10:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qDrzkZs92u8I3nEfUkCeXRdAMwljmG6cEcTlUxDQCI4=; b=fRaEfPtMYe00X7NZFCFtiCwO3auOAJGur7+pOMvWsYVcg07hxga0Tnl3444AsTBAki 5NLBQXvnSSpmgLu1uxhr7jZf6CRnf5dHBWseombFnsoHuDak/9iZgDroprQWc7xiest0 JcmvVskuNzOyHgVkJptemXlqZpGN6UMdM7RYkNU5274pI7s2143qAPnfxyJCrje0igqd 3rj0ifwMosqLODf5+ZgSXZR4EpFLtfE4WEPMVZ95E6pROYT1WsJ8FG9iGLHwQTQQa0oT T79GtAHYbeM462gOQ6o4wSqAawQyKy+xPK7sJH1Ijj+pfOMgBHP9p7teYm9i/IXIyzZK OH+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qDrzkZs92u8I3nEfUkCeXRdAMwljmG6cEcTlUxDQCI4=; b=fBIc37uwnuiioh79q//pCODFfDpN72fqb+twFdB88dKJvlLUtuAmmVYaRcl8MguCtZ b7+1NdIbTVrW+V3AHn+OeMUbQpAV026wI4OJuhwu1v0JQ4Qnd1dnHV44mJjGUJ3o6zq/ TktENTaXpRfVQhUG0jREbi8gLawzmoOl6hVrn8m6/ZmVEcRgSQ4B8o/yhM38QU7eA8Y4 1FBPE9yfNYLIhg1dY4PFFVoflHhSq6iHP4eKgAV48bAC2l23b/WrjV58ji4TtHVH9Iw+ WtKmSqYsg4wknAScL5sqxSIpTTT2Thq+7mq/JMBdvmhxQ/hhWxl6vRtfYt9EXTO39FCa Kseg== X-Gm-Message-State: APjAAAXitdUBX/zndFyk7coabXwj4+q9Gg+7Tgdng7xJLQ2Ytn3s3Soo LIKOUSE+bsgAl6Dcosmds9Tb+GVZi3S57jUL2ss= X-Google-Smtp-Source: APXvYqyDKg8K0ObiaV/1iV9RYsxsGsuyGgVUPIUmYssIEEA53dgJY1ZWszFF/JoCoG3z9JoywMO75HCb/J89N8wUCPs= X-Received: by 2002:aca:c5cb:: with SMTP id v194mr3547754oif.106.1570036181622; Wed, 02 Oct 2019 10:09:41 -0700 (PDT) MIME-Version: 1.0 References: <87a7aja29z.fsf@igel.home> <875zl79zqk.fsf@igel.home> <838sq3856a.fsf@gnu.org> In-Reply-To: <838sq3856a.fsf@gnu.org> From: Richard Copley Date: Wed, 2 Oct 2019 18:09:14 +0100 Message-ID: Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000e3e6260593f0888f" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37576 Cc: Juanma Barranquero , Andreas Schwab , 37576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e3e6260593f0888f Content-Type: text/plain; charset="UTF-8" On Wed, 2 Oct 2019 at 17:48, Eli Zaretskii wrote: > > From: Andreas Schwab > > Date: Wed, 02 Oct 2019 13:02:43 +0200 > > Cc: Richard Copley , 37576@debbugs.gnu.org > > > > On Okt 02 2019, Juanma Barranquero 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 agree with that too, FWIW. Thanks. > I still didn't hear from Richard confirming that his case is indeed > caused by a non-existent directory on PATH. Yes it is. (At least, there *are* non-existent directories in PATH, and I get the correct message now.) Maybe there are other > factors at work here. > --000000000000e3e6260593f0888f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, 2 Oct 2019 at 17:48, Eli Zare= tskii <eliz@gnu.org> wrote:
>= ; From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Wed, 02 Oct 2019 13:02:43 +0200
> Cc: Richard Copley <rcopley@gmail.com>, 37576@debbugs.gnu.org
>
> On Okt 02 2019, Juanma Barranquero <lekktu@gmail.com> wrote:
>
> > When the search fails, Emacs is now reporting "permission de= nied" if some
> > PATH element was non-existent, or "no such file or directory= " otherwise. At
> > least on Windows.
>
> And that is a bug.=C2=A0 A PATH element pointing to a non-existing dir= ectory
> should be ignored.

I don't know what "ignore" means in this case, since call-pro= cess
should signal an error if it's unable to find the program.=C2=A0 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'v= e
now fixed the Windows build's behavior to match that of the Posix
builds in this case.

I agree with that = too, FWIW. Thanks.
=C2=A0
I still didn't hear from Richard confirming that his case is indeed
caused by a non-existent directory on PATH.

Yes it is. (At least, there are non-existent directories in PATH, a= nd I get the correct message now.)

Maybe there are other
factors at work here.
--000000000000e3e6260593f0888f-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 13:19:52 2019 Received: (at 37576-done) by debbugs.gnu.org; 2 Oct 2019 17:19:52 +0000 Received: from localhost ([127.0.0.1]:38255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFiI3-0005YU-Qi for submit@debbugs.gnu.org; Wed, 02 Oct 2019 13:19:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFiHy-0005YE-Ea for 37576-done@debbugs.gnu.org; Wed, 02 Oct 2019 13:19:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iFiHt-0005mo-8L; Wed, 02 Oct 2019 13:19:41 -0400 Received: from [176.228.60.248] (port=1833 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iFiHr-0002Oh-Ph; Wed, 02 Oct 2019 13:19:40 -0400 Date: Wed, 02 Oct 2019 20:19:20 +0300 Message-Id: <8336gb83qf.fsf@gnu.org> From: Eli Zaretskii To: Richard Copley In-reply-to: (message from Richard Copley on Wed, 2 Oct 2019 18:09:14 +0100) Subject: Re: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found References: <87a7aja29z.fsf@igel.home> <875zl79zqk.fsf@igel.home> <838sq3856a.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37576-done Cc: lekktu@gmail.com, schwab@linux-m68k.org, 37576-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Richard Copley > Date: Wed, 2 Oct 2019 18:09:14 +0100 > Cc: Andreas Schwab , Juanma Barranquero , 37576@debbugs.gnu.org > > 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 agree with that too, FWIW. Thanks. > > I still didn't hear from Richard confirming that his case is indeed > caused by a non-existent directory on PATH. > > Yes it is. (At least, there are non-existent directories in PATH, and I get the correct message now.) Thanks, then it's time to close this bug. From unknown Mon Aug 18 14:15:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 31 Oct 2019 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator