home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29702 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.0 KB  |  45 lines

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