home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
- From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
- Subject: Read only files, HPFS, wrong, wrong, wrong
- Message-ID: <1992Sep10.050559.5642@monu6.cc.monash.edu.au>
- Originator: parry@yoyo.cc.monash.edu.au
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University, Melb., Australia.
- Date: Thu, 10 Sep 1992 05:05:59 GMT
- Lines: 33
-
- After playing with GNU RCS for a while I have come to the conclusion that
- the DOS System/Hidden/Read Only attributes for files are a little stupid.
-
- First of all, what is the difference between these three attributes. In
- the (almost) decade that I have been playing with PC's I am yet to work out
- why all 3 of these exist, when the effect of all three seems to be the
- same.
-
- My first question is therefore, why did HPFS hang on to these? Read only
- files should not be hidden, hidden should not be read only etc. Compared to
- the UNIX method of file protection it is quite annoying.
-
- The reason this has come up is, as I said above, RCS. Being a UNIX program,
- RCS marks non-locked checked-out files as read only. It gives write access
- to those you have locked. This means you won't end up modifying a file you
- have not checked out of the RCS. Under UNIX it works great, but under the
- DOS style (and hence HPFS), you check out a file, but then can not compile
- it because it is read only. This is especially painful when using GNUMAKE
- (but I'll save that sob story for my next post...)
-
- So, can anybody think of a solution to the RCS problem? 1) would be to get
- the source and strip out all the read only stuff. 2) rewrite HPFS with some
- better protection mechanisms for files [unfortunately, I'm a little busy
- this week so I won't get around to the HPFS rewrite :-) ]
-
- But, if we strip out this bit of code from RCS we are taking out a very
- nice part of it. Maybe HPFS stands for High Performance FAT System.
-
-
-
- --
- Tom J Parry.
- Your reality is a figment of my imagination.
-