comp.lang.ada
 help / color / mirror / Atom feed
From: kst@thomsoft.com (Keith Thompson)
Subject: Re: GNAT 3.01 Source For OS/2
Date: 1996/05/07
Date: 1996-05-07T00:00:00+00:00	[thread overview]
Message-ID: <Dr0Is3.5Jw@thomsoft.com> (raw)
In-Reply-To: dewar.831309275@schonberg


In <dewar.831309275@schonberg> dewar@cs.nyu.edu (Robert Dewar) writes:
> Joe said
> 
>   > Why don't you go and look ????   There is nothing in the
>   > pub/gnat/private directory.  You may be right about the README,
>   > but there still ain't nothin where YOU said there would be !!!!
> 
> Robert replies
> 
> Umm, can you learn to read just a ltitle more carefully, my message
> (and the README file!) says pub/gnat/private/old, not pub/gnat/private.

The source of the confusion, I think, is that the permissions on the
pub/gnat/private directory are set to "rwx--x--x" (711).  This allows
users to access files and directories under that directory if they already
know their names, but not to get a directory listing.  (There may well
be things other than "old" in there, but I can't tell.)  It's a common
way to hide things on a public ftp site while still allowing access for
those who know what they're looking for.

So, from within the ftp program, if you do this:

    cd /pub/gnat/private
    dir

it will give you an empty listing, as if there were nothing there.
If, however, you do this:

    cd /pub/gnat/private/old
    dir

you'll get a listing of all the files there.  You can't get to
/pub/gnat/private/old by traversing one directory at a time, but you
can get there directly.

It's arguably a bug in ftp that the "dir" command doesn't visibly
distinguish between empty and non-readable directories.

Robert: it might be a good idea to put the "old" directory directly under
"/pub/gnat" rather than "hiding" it in "private".

-- 
Keith Thompson (The_Other_Keith) kst@thomsoft.com <*>
TeleSoft^H^H^H^H^H^H^H^H Alsys^H^H^H^H^H Thomson Software Products
10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2718
This sig uses the word "Exon" in violation of the Communications Decency Act.




  reply	other threads:[~1996-05-07  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-23  0:00 GNAT 3.01 Source For OS/2 jschafer1
1996-04-24  0:00 ` Robert Dewar
1996-04-27  0:00   ` jschafer1
1996-04-27  0:00     ` Robert Dewar
1996-04-30  0:00       ` -Laurent Gasser
1996-05-01  0:00       ` jschafer1
1996-04-27  0:00     ` Robert Dewar
1996-05-01  0:00       ` jschafer1
1996-05-03  0:00         ` Robert Dewar
1996-05-05  0:00           ` jschafer1
1996-05-05  0:00             ` Robert Dewar
1996-05-05  0:00           ` Kevin D. Heatwole
1996-05-03  0:00         ` Robert Dewar
1996-05-05  0:00           ` jschafer1
1996-05-05  0:00             ` Robert Dewar
1996-05-05  0:00             ` Robert Dewar
1996-05-07  0:00               ` Keith Thompson [this message]
1996-05-07  0:00                 ` Tore Joergensen
1996-05-07  0:00                 ` Robert Dewar
1996-05-08  0:00             ` Joerg Rodemann
1996-04-29  0:00   ` Dale Pontius
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox