🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #6519

What does the read-only bit mean?

#6519
From: VBRANDT
Date: Tue, 05 Dec 1989 08:02
21 lines
1409 bytes
Hello all,

   What does the write-protect bit in the file attribute byte mean??

   As most of you know there is a bit in the attribute byte that indicates
READ-ONLY status when it's set.  This means that the file can't be written
to, can't be renamed or deleted.

   BUT: I can change the time/date entry with Fgsdatim() (or whatever the
GEMDOS function is called).  Is this a bug or a feature??  Or is it necessary
to enable the desktop to retain the time/date stamp while copying read-only
files?

   I can see advantages (for "make" type programs), but also some disadvan-
tages. Comments invited.

----------------------------------------------------------------------------
Bitnet:  VBRANDT@DBNUAMA1 (will go away some day ...)  Volker A. Brandt
          UNM409@DBNRHRZ1 (alternative)                Angewandte Mathematik
UUCP:    ...!unido!DBNUAMA1.bitnet!vbrandt             (Bonn, West Germany)
ARPAnet: VBRANDT%DBNUAMA1.BITNET@CUNYVM.CUNY.EDU
Technical Details
Message-ID: <8912050801.AA12624@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!DBNUAMA1.BITNET!VBRANDT

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!DBNUAMA1.BITNET!VBRANDT
From: VBRANDT@DBNUAMA1.BITNET
Newsgroups: comp.sys.atari.st
Subject: What does the read-only bit mean?
Message-ID: <8912050801.AA12624@ucbvax.Berkeley.EDU>
Date: 5 Dec 89 08:02:05 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 21
X-Unparsable-Date: Mon, 04 Dec 89 11:36:40 SET