Article View: comp.sys.amiga.tech
Article #11141Re: Bug in FFS write-locking?
From: Dan "Sneakers" Schein
Date: Tue, 24 Jan 1989 01:31
Date: Tue, 24 Jan 1989 01:31
43 lines
2301 bytes
2301 bytes
In Message <5411@bsu-cs.UUCP>, jdh@bsu-cs.UUCP (John Hiday) writes:
>I think I have discovered a bug in the write-locking of an FFS partition.
>I have tried to send a notice to bugs@cbmvax, but I haven't gotten a reply
>back so I am assuming that nothing made it through.
>
Thats not a good assumption. The person doing bugs may be busy, may have
not checked the mail yet, or may be trying to reproduce it.
>It seems that LOCKing an FFS partition does not prohibit a program from
>writing to an existing file (appending or overwriting). I have reproduced
>this on both my hard drive and RAD: (the only FFS devices I have). I
>had a friend try it out too and he came up with the same results.
The lock on my hard drive wont let me update or append a file (existing or
not) using standard DOS commands.
>The Info command shows the partition as Read Only, and any attempt to
>create a new file or delete an old one is met with the "Volume xyz is
>write protected" requester. However appending to and/or overwriting an
>existing file succeeds.
See above.
>A simple way to demonstrate this is to add a comment to an existing
>Zoo archive which is on a LOCKed partition (zoo cA archivename).
>Creating a new archive will fail, but adding to an old one succeeds.
I tried this and your right! Zoo does change the file (as indicated by the
date stamp). But I havent been able to get anyting else (besides zoo) to
reproduce this.
Darn this shoots my theory of keeping the Euro-Virus out of my C: directory.
Sneakers
--
Dan "Sneakers" Schein {pyramid|rutgers|uunet}!cbmvax!heimat!sneakers
Sneakers Computing
2455 McKinley Ave. Of course heimat is an Amiga.
West Lawn, PA 19609 Doesn't everyone run UUCP & UseNet on an Amiga?
Call: BERKS AMIGA BBS - 60+ Megs - 24 Hrs - 12/2400 Baud - 215/678-7691
Technical Details
Message-ID:
<6028.AA6028@heimat>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!ucsd!rutgers!bpa!cbmvax!heimat!sneakersShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!ucsd!rutgers!bpa!cbmvax!heimat!sneakers From: sneakers@heimat.UUCP (Dan "Sneakers" Schein) Newsgroups: comp.sys.amiga.tech Subject: Re: Bug in FFS write-locking? Message-ID: <6028.AA6028@heimat> Date: 24 Jan 89 01:31:38 GMT Followup-To: comp.sys.amiga.tech Organization: Sneakers Computing Lines: 43