help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where has the rwxr-xr-x gone from dired?


From: Eli Zaretskii
Subject: Re: Where has the rwxr-xr-x gone from dired?
Date: Sat, 18 Jun 2016 11:04:20 +0300

> Date: Fri, 17 Jun 2016 16:53:30 -0700 (PDT)
> From: Davin Pearson <davin.pearson@gmail.com>
> 
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]