From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5548: eshell has an odd idea of file permissions Date: Mon, 08 Feb 2010 20:58:48 -0500 Message-ID: <87pr4fqief.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265682165 30055 80.91.229.12 (9 Feb 2010 02:22:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 02:22:45 +0000 (UTC) Cc: 5548@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 09 03:22:42 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NefkP-0000vu-Gq for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 03:22:42 +0100 Original-Received: from localhost ([127.0.0.1]:58927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NefkL-0008Db-Ky for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2010 21:22:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NefkG-0008DW-60 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 21:22:32 -0500 Original-Received: from [199.232.76.173] (port=57635 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NefkF-0008DO-Pj for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 21:22:31 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nefk4-0001t4-9D for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 21:22:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35651) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nefk3-0001sw-Pc for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 21:22:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NefOU-0005Is-WD; Mon, 08 Feb 2010 21:00:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2010 02:00:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5548 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5548-submit@debbugs.gnu.org id=B5548.126568075320333 (code B ref 5548); Tue, 09 Feb 2010 02:00:02 +0000 Original-Received: (at 5548) by debbugs.gnu.org; 9 Feb 2010 01:59:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NefNg-0005Ht-AB for submit@debbugs.gnu.org; Mon, 08 Feb 2010 20:59:12 -0500 Original-Received: from pantheon-po34.its.yale.edu ([130.132.50.80]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NefNQ-0005HQ-6e for 5548@debbugs.gnu.org; Mon, 08 Feb 2010 20:59:05 -0500 Original-Received: from furry (bb116-15-9-83.singnet.com.sg [116.15.9.83]) (authenticated bits=0) by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o191wnhj020674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 8 Feb 2010 20:58:51 -0500 Original-Received: by furry (Postfix, from userid 1000) id 7CFDAC05D; Mon, 8 Feb 2010 20:58:48 -0500 (EST) In-Reply-To: (Glenn Morris's message of "Mon, 08 Feb 2010 18:54:47 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 08 Feb 2010 21:00:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34965 Archived-At: Glenn Morris writes: > Current trunk on GNU/Linux: > > mkdir foo > cd foo > touch 1 2 3 4 > chmod 644 1 # writable by owner > chmod 446 2 # writable by other > chmod 744 3 # executable by owner > chmod 447 4 # executable by other > > emacs -Q -f eshell > eshell> ls > > "1" appears in eshell-ls-readonly face, "2" in default face. > "3" appears in readonly face, "4" in eshell-ls-executable face. > > This seems to be due to eshell-ls-applicable, which looks odd to me. I've re-written eshell-ls-applicable; it should work properly now.