delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/23/10:14:50

From: kagel AT quasar DOT bloomberg DOT com
Date: Wed, 23 Oct 1996 09:43:08 -0400
Message-Id: <9610231343.AA05807@quasar.bloomberg.com >
To: elf AT netcom DOT com
Cc: djgpp AT delorie DOT com
In-Reply-To: <199610230947.CAA12757@netcom16.netcom.com> (elf@netcom.com)
Subject: Re: Permissions for FIND?
Reply-To: kagel AT dg1 DOT bloomberg DOT com

   Errors-To: postmaster AT bloomberg DOT com
   From: elf AT netcom DOT com (Marc Singer)
   Date: Wed, 23 Oct 1996 02:47:20 -0700 (PDT)
   X-Mailer: ELM [version 2.4 PL23]
   Mime-Version: 1.0
   Content-Transfer-Encoding: 7bit
   Content-Type: text/plain; charset=US-ASCII
   Content-Length: 370

   I am trying to find the read only files on my DOS hard drive using the
   djgpp hosted version of find.  There does not appear to be anything in
   the info files about the DOS specific permission bits.  I've tried
   lots of combinations and suspect that the support for permissions
   (-perm) is broken.  Am I wrong?  Does anyknow know how permissions map
   in DOS?

I believe that what you seek is in the info pages for readdir, etc.  I think
that there is a global variable whose value specifies the flags.  I am not
home, so I cannot check now.  Look at the docs for readdir.

-- 
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com

A proverb is no proverb to you 'till life has illustrated it.  -- John Keats

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019