www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/01/05:34:20

Message-ID: <3B17629C.B7A62B67@lps.u-psud.fr>
Date: Fri, 01 Jun 2001 11:38:36 +0200
From: Daniel Taupin <taupin AT lps DOT u-psud DOT fr>
X-Mailer: Mozilla 4.51 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: DJGPP List <djgpp AT delorie DOT com>
Subject: Changing file protections
X-MIME-Autoconverted: from 8bit to quoted-printable by hprib.lps.u-psud.fr id LAA13735
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id FAA14811
Reply-To: djgpp AT delorie DOT com

Info chmod ist not explicite, and "chmod --help" no more, therefore:

 How can one use chmod to set/remove the "hidden" "system reserved"
"archive" "read only" arributes of file? This is compulsorily needed
under Win NT when a faulty file (esp. due tu virusses) is locked as
"system busy" at bootstart (with NT there is no possible emergency
access with native MS-DOS)?

If there is none, is there a C routine/subroutine abel to chenge these
specific Windows/DOS attributes?

Thanks.

-- 


-------------------------------------------------------------------------
  Daniel Taupin, Physique des Solides, Univ. Paris-Sud, 91405 ORSAY
  E-mail : mailto:taupin AT lps DOT u-psud DOT fr
  Tél: (33) 1.69.15.60.79, Fax: (33) 1.69.15.60.86
-------------------------------------------------------------------------

- Raw text -


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