From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Where has the rwxr-xr-x gone from dired? Date: Fri, 17 Jun 2016 17:54:06 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1466211300 28278 80.91.229.3 (18 Jun 2016 00:55:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 00:55:00 +0000 (UTC) Cc: Davin Pearson 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 02:54:58 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 1bE4XI-0001Z3-Au for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 02:54:56 +0200 Original-Received: from localhost ([::1]:60804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE4XH-0007ua-HZ for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Jun 2016 20:54:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE4Wq-0007uJ-Kh for help-gnu-emacs@gnu.org; Fri, 17 Jun 2016 20:54:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bE4Wp-00026a-JZ for help-gnu-emacs@gnu.org; Fri, 17 Jun 2016 20:54:28 -0400 Original-Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:34843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE4Wp-00026W-FM for help-gnu-emacs@gnu.org; Fri, 17 Jun 2016 20:54:27 -0400 Original-Received: by mail-qk0-x236.google.com with SMTP id c73so102764902qkg.2 for ; Fri, 17 Jun 2016 17:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pp+dRD46VvaLa3vwU32woDLl+iSElDzzRJVtaZ8WRC0=; b=DuHb8u9xpDcKe+mrDS7WmX5W/yJdWYGzCTl5tuYnPPK4MSlK6ktwtD2bjxrzLSJb8C E7JZK2EQpjJmCse8f8k5ZjSHZ7VQeOggSrba3UculUzSwcIY4JgJSYBLjV4u5myLQEu/ qvRE3qO5KXECzbt+PHlfAqhTfyySzUGLJyCRAS2NLl3xlFtg/W4bydc1S0EZPc8V9BKg 6SZoGrP1u5TjDCPIybBxDdlPbll6Qy67rUXIpoiWIfvq4MroZotILcA7Qm7O+sPrRKbN LOn4qKveFIMmX7dwwY5DdzU9HhiOyRml7AGpeB6NZk22PEN9tlyydPxyJ6I6DKSlsQUG pTiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pp+dRD46VvaLa3vwU32woDLl+iSElDzzRJVtaZ8WRC0=; b=K5GDDJfqikiC0uKbCaCPChZA7zc15SVGi233k/+IzpxHd5j47xPMUlKpMf3kGwAuxb 79HVWCbUwZCmtgOnduZpsq0b6F6ocHjmSbz1tBKuuTHd2d+sOA8AMRlM8IGBMTmFZMZd D4YJbBODo+Y3B9pZKfCc3P6jKXcPwAeBKBHz8MsFeRO9FzpIzsOUgxaDD/qSEza8BI7b ROVJHVK7peYRkp/iVsD4eJHdYhQHvYTDvO4D/VBxCiAhjmMjI/1lV3t3oDtPuMbzMhm5 nlMctggH6fnMZ1i9hZZpBNWJFiKsAB8PZjxzAtiQDKVNdvX6hX7uviMJpNjYQohSQTrG phRw== X-Gm-Message-State: ALyK8tLGBtoGobKiGCT6deoId+bWgYPbl9Pkhg5m9IKgM8/PRZFjOr3b5eCW9mwotXH7yvVNzBQe44HBmmSSiA== X-Received: by 10.200.38.120 with SMTP id v53mr6113915qtv.90.1466211266462; Fri, 17 Jun 2016 17:54:26 -0700 (PDT) Original-Received: by 10.237.57.138 with HTTP; Fri, 17 Jun 2016 17:54:06 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::236 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:110487 Archived-At: Davin Pearson wrote: > 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? On Windows, Emacs by default uses a Lisp implementation of (the most relevant parts of) ls, since Windows doesn't come with ls. Most likely, Emacs's `ls-lisp' and your ls binary simply map Windows's permissions to Unix-like permissions differently. If that ls binary is on your PATH, you may be able to have Emacs use it rather than `ls-lisp': (with-eval-after-load 'ls-lisp (setq ls-lisp-use-insert-directory-program t)) That's what I do on Windows, using ls from Cygwin. There are a potential issues from mixing a native Windows Emacs binary with Cygwin binaries, but it's worked well enough for me. There's also a Cygwin build of Emacs that uses a native Windows GUI. I've been meaning to try it and that may be an option for you too. John