home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11072 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  2.8 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!navarra
  2. From: navarra@casbah.acns.nwu.edu (John Navarra)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: user command to recover deleted file ?
  5. Message-ID: <1992Sep15.024607.12743@news.acns.nwu.edu>
  6. Date: 15 Sep 92 02:46:07 GMT
  7. References: <1992Sep14.014334.6072@engr.latech.edu> <1992Sep14.211851.6952@news.acns.nwu.edu> <BuLEvr.LGI@unix.amherst.edu>
  8. Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
  9. Organization: Northwestern University, Evanston Illinois.
  10. Lines: 41
  11.  
  12. In article <BuLEvr.LGI@unix.amherst.edu> twpierce@unix.amherst.edu (Tim Pierce) writes:
  13. >In article <1992Sep14.211851.6952@news.acns.nwu.edu> navarra@casbah.acns.nwu.edu (John Navarra) writes:
  14. >
  15. >>    Finally, without arguing the merits of various file preserving
  16. >>methods (where have you been Kamens!? ;-) one very simple thing to do
  17. >>it alias the rm command to mv all files to a 'wastebasket' or 'tmp'
  18. >>directory and then later clean that directory out manually or with
  19. >>a cron job.
  20. >
  21. >As it was pointed out to me when I brought this up, globally aliasing
  22. >rm to something clever in order to "protect" the user is an extremely
  23. >bad idea.  It sets them up to expect rm to act a certain way, and if
  24. >they are dropped into a shell without aliasing (e.g. the Bourne
  25. >shell), or into another Unix system which is not administered in the
  26. >same way, all of your pampering is for nought when they "rm
  27. >final-draft-thesis".
  28. >
  29.     Yeah yeah, I said I didn't want to get into this discussion 
  30. (but that was just a clever ploy to generate a discussion ;-) I have
  31. had this debate at least twice with Kamens and we see things a bit
  32. differently. I say being a bit pampered is a HELL of a lot better
  33. than losing a file! I use a special rm function and I have never found
  34. myself removing files that I didn't want removed. And even if I did, 
  35. they are backed up on tape. One of the main tenets of UNIX is the 
  36. freedom to customize your environment. If that includes altering a 
  37. command to do things the way you want, then so be it. How do you
  38. think so many unix commands got started in the first place?
  39.     I agree that many new users shouldn't be given altered commands
  40. but once you know enough to ask about a command, you should have the
  41. opportunity to change how it works. The philosophy you suggest, when
  42. extrapolated, would call for use of only those utilities available on
  43. EVERY UNIX PLATFORM. I certainly don't want to limit myself to that. 
  44.  
  45. -tms
  46.  
  47.  
  48. -- 
  49. You can get further with a kind word | You can get further with a kind word
  50. and a gun than a kind word alone.    | and a phaser than a kind word and a gun.
  51.           --al capone                |           -- John Navarra
  52. =======From the Lab of the MaD ScIenTIst....navarra@casbah.acns.nwu.edu========
  53.