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

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

Re: [h-e-w] I found a way to list the c:/ directory


From: Chris McMahan
Subject: Re: [h-e-w] I found a way to list the c:/ directory
Date: Wed, 11 Jun 2003 07:51:21 -0400

I'm running Windows XP Pro. The other issue I was addressing was the
inconsistency of the listing of file permissions between ls-lisp and
cygwin ls. Here's an example:

using ls-lisp 
  drwxrwxrwx   2        0 Jun  9 14:35 archive/
  drwxrwxrwx   2        0 May  5 07:56 q/
  -rw-rw-rw-   1    20917 Oct 28  2002 comp.emacs
  -rw-rw-rw-   1   224174 Jun  9 14:02 emacs
  -rw-rw-rw-   1   107892 Apr  9 08:51 gnu.emacs.help
  -rw-rw-rw-   1    92414 May 13 10:57 gnu.emacs.sources
  -rw-rw-rw-   1     2938 Apr 22 16:28 gnu.emacs.vm.bug
  -rw-rw-rw-   1    19576 May 13 10:58 gnu.emacs.vm.info


using ls -laFG
  drwxr-xr-x+   7 chris           0 Jun 11 07:36 ./
  drwxr-xr-x+  15 chris           0 Jun 11 07:30 ../
  drwxr-xr-x+   5 chris           0 Jun  9 14:35 archive/
  -rw-------    1 chris       20917 Oct 28  2002 comp.emacs
  -rw-------    1 chris      224174 Jun  9 14:02 emacs
  -rw-------    1 chris      107892 Apr  9 08:51 gnu.emacs.help
  -rw-------    1 chris       92414 May 13 10:57 gnu.emacs.sources
  -rw-------    1 chris        2938 Apr 22 16:28 gnu.emacs.vm.bug
  -rw-------    1 chris       19576 May 13 10:58 gnu.emacs.vm.info
  drwxr-xr-x+   2 chris           0 May  5 07:56 q/


(I truncated the listings for brevity)

The \ls version seems to reflect any changes I make to permissions
using chmod, while the ls-lisp version does not.

Thanks for taking the time to look at this!

 - Chris

Dr Francis J. Wright writes:
>From: "Paul Whitfield" <address@hidden>
>To: <address@hidden>
>Sent: Wednesday, June 11, 2003 2:26 AM
>Subject: Re: [h-e-w] I found a way to list the c:/ directory
>
>
>> >>ls: c:/pagefile.sys: No such file or directory
>> >
>> > I think that's a bug in Cygwin ls, and I thought it was fixed a long
>time
>> > ago, but I see it's still there.
>>
>> Just for reference it seems to be fixed in recent releases.
>>
>> I just tried it and it works for me, both in Cygwin and in emacs
>> using cygwin ls
>
>
>Cygwin setup reports that my fileutils are up to date.  Maybe it's a
>platform difference.  I notice the problem on Win NT; what version of
>Windows are you running?
>
>Francis
>
>

-- 
    ================================
    Chris McMahan | address@hidden
    ================================





reply via email to

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