Mail Archives: djgpp/1998/04/14/02:50:07
On Mon, 13 Apr 1998, John M. Aldrich wrote:
> If your administrator is using a fairly simple deletion program, then
> foiling it is as simple as changing the file attributes of everything in
> the DJGPP directory (including the directory itself) to read-only,
> hidden, system, or a combination of the three. Read-only is probably
> your best bet, as long as the program your admin uses doesn't know to
> remove that flag before deleting.
Beware: DOS doesn't give a damn about directory attributes, and even
hidden/system attributes will only prevent it from being listed, but
not deleted. A simple-minded approach such as using DELTREE command
will happily wipe out any directory tree, no matter what attributes
are set in the files inside it.
Anyway, waging a war on your sysadmins is usually a bad idea. Maybe
if you show them some of the DJGPP applications, you will have a
better case in convincing them.
- Raw text -