From: John Mastro <john.b.mastro@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Cc: Davin Pearson <davin.pearson@gmail.com>
Subject: Re: Where has the rwxr-xr-x gone from dired?
Date: Fri, 17 Jun 2016 17:54:06 -0700 [thread overview]
Message-ID: <CAOj2CQTJ0d+3CTfpEk5nD9MtUak6dnTcG_4rHDntVdaeit26Nw@mail.gmail.com> (raw)
In-Reply-To: <c9a43005-7f47-46b9-a9fa-d3095e3a1889@googlegroups.com>
Davin Pearson <davin.pearson@gmail.com> 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
next prev parent reply other threads:[~2016-06-18 0:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 23:53 Where has the rwxr-xr-x gone from dired? Davin Pearson
2016-06-18 0:54 ` John Mastro [this message]
2016-06-18 8:07 ` Eli Zaretskii
2016-06-18 20:30 ` John Mastro
2016-06-19 2:37 ` Eli Zaretskii
2016-06-19 22:46 ` Bob Proulx
2016-06-20 2:33 ` Eli Zaretskii
2016-06-20 19:07 ` John Mastro
2016-06-20 20:01 ` Eli Zaretskii
2016-06-20 23:07 ` Bob Proulx
2016-06-18 8:04 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOj2CQTJ0d+3CTfpEk5nD9MtUak6dnTcG_4rHDntVdaeit26Nw@mail.gmail.com \
--to=john.b.mastro@gmail.com \
--cc=davin.pearson@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.