delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/01/31/19:25:09

Date: Fri, 31 Jan 1997 17:07:32 -0600 (MDT)
From: Roger Ivie <IVIE AT cc DOT usu DOT edu>
Subject: [opendos] Disappearing files: Passwords?
To: OPENDOS AT MAIL DOT TACOMA DOT NET
Message-id: <01IEVCDXXW5K8ZLMEV@cc.usu.edu>
MIME-version: 1.0
Sender: owner-opendos AT mail DOT tacoma DOT net

There was a fellow recently complaining about files that were sometimes
there and sometimes not. I'm seeing similar things, but under windows;
basically, it looks like Weird Stuff (tm) happens when you're running windows.

If I have a file with a password, it does not show up in the directory
listing in a DOS prompt under windows. It shows up just fine if I exit
windows, but not while I'm running windows.

Oddly, attrib lists a file with a password as hidden. Perhaps Windows is
filtering things out of the INT 21H calls?

I've not yet looked with a disk editor to see how passwords are
implemented under OpenDOS. IIRC (and I never really investigated to find
out), passwords under MP/M and CP/M+ were implemented by an extra FCB
associated with the file containing the password; I don't know how MP/M
marked the file as having an associated password (perhaps one of the
attributes bits?). I suspect they are implemented similarly in OpenDOS and
Windows is misreading the attributes because it's seeing something it
doesn't recognize.

Roger Ivie
ivie AT cc DOT usu DOT edu

--Boundary (ID xNQ6bqNnEybhQpJ2xVuRTg)--

- Raw text -


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