X-Loop: help-debbugs@HIDDEN Subject: bug#27300: Subject: 25.2; (E)Shell command completion fails when folder in PATH is not readable Resent-From: Pierre Neidhardt <ambrevar@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: help-debbugs@HIDDEN Resent-Date: Fri, 09 Jun 2017 18:09:01 +0000 Resent-Message-ID: <handler.27300.B.14970317246956 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 27300 X-GNU-PR-Package: debbugs.gnu.org X-GNU-PR-Keywords: To: 27300 <at> debbugs.gnu.org X-Debbugs-Original-To: To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14970317246956 (code B ref -1); Fri, 09 Jun 2017 18:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jun 2017 18:08:44 +0000 Received: from localhost ([127.0.0.1]:37354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dJOKy-0001o8-3q for submit <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:08:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ambrevar@HIDDEN>) id 1dJOKw-0001nv-Jh for submit <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:08:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ambrevar@HIDDEN>) id 1dJOKq-0001bQ-C1 for submit <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:08:37 -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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36807) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ambrevar@HIDDEN>) id 1dJOKq-0001bM-9C for submit <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:08:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ambrevar@HIDDEN>) id 1dJOKp-0004qm-Dr for bug-gnu-emacs@HIDDEN; Fri, 09 Jun 2017 14:08:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ambrevar@HIDDEN>) id 1dJOKm-0001ZY-7x for bug-gnu-emacs@HIDDEN; Fri, 09 Jun 2017 14:08:35 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:35232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <ambrevar@HIDDEN>) id 1dJOKl-0001Xl-WE for bug-gnu-emacs@HIDDEN; Fri, 09 Jun 2017 14:08:32 -0400 Received: by mail-wr0-x22c.google.com with SMTP id q97so41197599wrb.2 for <bug-gnu-emacs@HIDDEN>; Fri, 09 Jun 2017 11:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=W2kjJHkKkTeL5SqMkyTFIFlgx3sw6RIwX7YxiZho8Bc=; b=JEO3tPS4nQpSKXN2nr7qFU0QVJDPg+kiMXFlWqjyLliG7buXLxjuBD4ebjz8iFTcTY hhS49QT6/b02kCaFjez0+yKFRlTgoYE8IoT4kCsJ+BThTKUL8l2f7QhOU0GylYxk5ruB Q9TV0uCpJlTqVhx2fYqJwkL+Hw/uSWOqxTCiUYf3XCrOPGqN/XDEvLOgxLrc0XE6Rmvv ba4j8NFWhJ687fEqYPAUQxLitjIIBTVIMf7oJOlzAmtdHSBhWm6AnnlbXPvp9PQyCnqP 2U11RJCGLMRL3VIxlucZnA+FlvntJy/B4IQ6TYC5OX2/bQ+KcB8SU35DYb4CGZfBlCOc GV+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=W2kjJHkKkTeL5SqMkyTFIFlgx3sw6RIwX7YxiZho8Bc=; b=OaT10c2gLPXStz285WZfysfcdLv0WMIOIw/31Wx/hRylP3Zp7IgML0D4Vm9IjbXC4F TBIjWyicpzlsnplKpLhcXy0qFuoN6HMdffUqRl1I0NmVbA17193lLwdrZjySEx6Z1Yfw z9ylXnIiFgAc7DAtZt+TA/yDqgAba4IFoGiS/y9pvsno2UcYwm59wuUh26SiMavthtd6 BiCJz/eWOgZ4NxjBn5X+V/uhVfeogb1V2IpUMY7fTmlAS2f8UiedXSUuiAHcHIWyyAFH lQX1Rh8sJnc5pKPNXZ3YBypYWCNuWSjen9Gcoh10TK++BG3DYE88np9qTIPCvQ9P2Czo b5pA== X-Gm-Message-State: AKS2vOy1e671TunkzQhnJa37luKP66TZB9lyFf3c4lUiGLnJPCKWO97p oNOJ7t86txJUoQLN X-Received: by 10.28.13.1 with SMTP id 1mr901857wmn.12.1497031709034; Fri, 09 Jun 2017 11:08:29 -0700 (PDT) Received: from gmail.com ([196.203.31.130]) by smtp.gmail.com with ESMTPSA id p76sm415974wma.15.2017.06.09.11.08.28 for <bug-gnu-emacs@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Jun 2017 11:08:28 -0700 (PDT) Date: Fri, 9 Jun 2017 19:08:27 +0100 From: Pierre Neidhardt <ambrevar@HIDDEN> Message-ID: <20170609180827.GA1209@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Info: Simplicity is the ultimate sophistication. User-Agent: Mutt/1.8.3 (2017-05-23) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) - Make one PATH member non-readable $ chmod -r /path/to/some/bin/folder - Start `emacs -Q`. - M-x shell - Press "e<TAB>" (any letter will do) I get the following error: (file-error "Opening directory" "Permission denied" "/path/to/some/bin/folder") While a warning could make sense, a non-readable folder should not prevent completion from working. Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Pierre Neidhardt <ambrevar@HIDDEN> Subject: bug#27300: Acknowledgement (Subject: 25.2; (E)Shell command completion fails when folder in PATH is not readable) Message-ID: <handler.27300.B.14970317246956.ack <at> debbugs.gnu.org> References: <20170609180827.GA1209@HIDDEN> X-Gnu-PR-Message: ack 27300 X-Gnu-PR-Package: debbugs.gnu.org Reply-To: 27300 <at> debbugs.gnu.org Date: Fri, 09 Jun 2017 18:09:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): help-debbugs@HIDDEN If you wish to submit further information on this problem, please send it to 27300 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 27300: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27300 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 9 Jun 2017 18:11:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 09 14:11:13 2017 Received: from localhost ([127.0.0.1]:37362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dJONN-0001sc-Hn for submit <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:11:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1dJONM-0001sP-4R for control <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:11:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1dJONG-0002ot-8c for control <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:11:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1dJONG-0002on-3n for control <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:11:06 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1dJONF-00060c-QA for control <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:11:05 -0400 Subject: control message for bug 27300 To: <control <at> debbugs.gnu.org> X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: <E1dJONF-00060c-QA@HIDDEN> From: Glenn Morris <rgm@HIDDEN> Date: Fri, 09 Jun 2017 14:11:05 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) reassign 27300 emacs
X-Loop: help-debbugs@HIDDEN Subject: bug#27300: Subject: 25.2; (E)Shell command completion fails when folder in PATH is not readable Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 09 Jun 2017 18:15:02 +0000 Resent-Message-ID: <handler.27300.B27300.14970320907571 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 27300 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27300 <at> debbugs.gnu.org Cc: Pierre Neidhardt <ambrevar@HIDDEN> Received: via spool by 27300-submit <at> debbugs.gnu.org id=B27300.14970320907571 (code B ref 27300); Fri, 09 Jun 2017 18:15:02 +0000 Received: (at 27300) by debbugs.gnu.org; 9 Jun 2017 18:14:50 +0000 Received: from localhost ([127.0.0.1]:37369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dJOQs-0001y2-15 for submit <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:14:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1dJOQp-0001xo-Rv for 27300 <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1dJOQk-0004Vy-40 for 27300 <at> debbugs.gnu.org; Fri, 09 Jun 2017 14:14:42 -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.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1dJOQk-0004Vs-0L; Fri, 09 Jun 2017 14:14:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1dJOQh-0006ME-U4; Fri, 09 Jun 2017 14:14:40 -0400 From: Glenn Morris <rgm@HIDDEN> References: <20170609180827.GA1209@HIDDEN> X-Spook: Grid Shell Dirty bomb LABLINK Mara salvatrucha tempest X-Ran: L8,;@8,RmXUi5^Y-^vw4dtkRU.xMW^XBpse_k0+b[-g"~UA~$)"Sgfov'[cDFs0>r({[qi X-Hue: magenta X-Attribution: GM Date: Fri, 09 Jun 2017 14:14:39 -0400 In-Reply-To: <20170609180827.GA1209@HIDDEN> (Pierre Neidhardt's message of "Fri, 9 Jun 2017 19:08:27 +0100") Message-ID: <upefut3u5s.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Bug reassigned to emacs (ended up in wrong package due to odd To: field in original report). Pierre Neidhardt wrote: > - Make one PATH member non-readable > > $ chmod -r /path/to/some/bin/folder > > - Start `emacs -Q`. > - M-x shell > - Press "e<TAB>" (any letter will do) > > I get the following error: > > (file-error "Opening directory" "Permission denied" "/path/to/some/bin/folder") > > While a warning could make sense, a non-readable folder should not prevent > completion from working.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.