* problems with ls ...
@ 1997-09-30 6:05 William L Anderson
1997-10-02 10:31 ` Doug McLaren
0 siblings, 1 reply; 2+ messages in thread
From: William L Anderson @ 1997-09-30 6:05 UTC (permalink / raw)
To: gnu-win32
OK, riddle me this:
using cygwin32/b18 ls.exe to list a directory I get
ls: filex.yyy: Permission denied
but with either MKSNT ls or UWIN ls I get a listing.
what gives?
system config: NT4 SP3 / Gnu NTEmacs 19.34.5 / cygwin32/b18 bash as the shell
-Bill A
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problems with ls ...
1997-09-30 6:05 problems with ls William L Anderson
@ 1997-10-02 10:31 ` Doug McLaren
0 siblings, 0 replies; 2+ messages in thread
From: Doug McLaren @ 1997-10-02 10:31 UTC (permalink / raw)
To: William L Anderson; +Cc: gnu-win32
William L Anderson was tellin' me ...
| OK, riddle me this:
|
| using cygwin32/b18 ls.exe to list a directory I get
| ls: filex.yyy: Permission denied
|
| but with either MKSNT ls or UWIN ls I get a listing.
|
| what gives?
It appears that the cygwin `ls' actually reads the file somewhat to
get some more information. Under Unix, `ls' stats the file to find
out it's permissions, owner, etc. But under Windows, all of this
information isn't available just by doing a stat() (does the stat()
call even exist?) ... so I think that cygwin `ls' reads the beginning
of the file to see if it has some special headers (kind of like the
Unix `file' program) to see if it's actually executable. When it
cannot read the file, you see this `Permission denied' error.
I may be wrong on this, so if I am, correct me :)
--
Doug McLaren, dougmc@comco.com
Unsolicited email of a commercial or advertising nature is not welcomed.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-10-02 10:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-30 6:05 problems with ls William L Anderson
1997-10-02 10:31 ` Doug McLaren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).