From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Where has the rwxr-xr-x gone from dired? Date: Sat, 18 Jun 2016 11:04:20 +0300 Message-ID: <83d1nec48r.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1466237049 2838 80.91.229.3 (18 Jun 2016 08:04:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 08:04:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 18 10:04:04 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bEBES-0002BX-5x for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 10:03:56 +0200 Original-Received: from localhost ([::1]:33536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEBER-0003ur-50 for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 04:03:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEBDu-0003rC-6F for help-gnu-emacs@gnu.org; Sat, 18 Jun 2016 04:03:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEBDq-0005gI-1K for help-gnu-emacs@gnu.org; Sat, 18 Jun 2016 04:03:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEBDp-0005g0-Ud for help-gnu-emacs@gnu.org; Sat, 18 Jun 2016 04:03:17 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1057 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bEBDo-0006Ey-1N for help-gnu-emacs@gnu.org; Sat, 18 Jun 2016 04:03:16 -0400 In-reply-to: (message from Davin Pearson on Fri, 17 Jun 2016 16:53:30 -0700 (PDT)) 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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110490 Archived-At: > Date: Fri, 17 Jun 2016 16:53:30 -0700 (PDT) > From: Davin Pearson > > When I untar my tarball I get the following file list: (ls -l) > > -rw------- 1 Davin Pearson None 1114 Jun 17 10:02 Makefile > -rw------- 1 Davin Pearson None 4528 Jun 16 14:29 README.txt > -rwxr-xr-x 1 Davin Pearson None 485 Jun 13 11:53 configure > drwx------+ 1 Davin Pearson None 0 Jun 18 2016 dlisp > drwx------+ 1 Davin Pearson None 0 Jun 18 2016 documentation > drwx------+ 1 Davin Pearson None 0 Jun 17 10:01 install-stuff > > But when I view it in Emacs Version 24.5.1 I get the following output: > > c:/home/hairy-lemon/output/davinpearson-com/binaries/java-training-wheels: > total used in directory 314 available 63772304 > drwxrwxrwx 1 Davin Pearson None 4096 06-17 23:47 . > drwxrwxrwx 1 Administrators Administrators 225280 06-17 23:44 .. > drwxrwxrwx 1 Davin Pearson None 65536 2016-06-18 dlisp > drwxrwxrwx 1 Davin Pearson None 16384 2016-06-18 documentation > drwxrwxrwx 1 Davin Pearson None 4096 06-17 10:01 install-stuff > -rw-rw-rw- 1 Davin Pearson None 485 06-13 11:53 configure > -rw-rw-rw- 1 Davin Pearson None 1114 06-17 10:02 Makefile > -rw-rw-rw- 1 Davin Pearson None 4528 06-16 14:29 README.txt > > Where has the -rwxr-xr-x gone from the file configure? It didn't exist in the first place. Your ls.exe invented it (or maybe it shows the Cygwin-only emulation of that bit); Emacs doesn't. Emacs only considers a file executable if it can be executed by Windows itself or by cmd.exe. A similar issue explains why "ls -l" shows the directories accessible only by your user, while Emacs doesn't.