delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/14/02:50:07

Date: Tue, 14 Apr 1998 09:47:14 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Warning: Off-topic!
In-Reply-To: <35329467.187B@cs.com>
Message-ID: <Pine.SUN.3.91.980414094653.2344J-100000@is>
MIME-Version: 1.0

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 -


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