home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / x / 19032 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!europa.asd.contel.com!emory!wupost!cs.utexas.edu!convex!constellation!midway.ecn.uoknor.edu!norlin
  3. From: norlin@midway.ecn.uoknor.edu (Norman Lin)
  4. Subject: Path variable (was Re: FLAME, FLAME ON X!!!)
  5. Sender: usenet@constellation.ecn.uoknor.edu (Usenet Administrator)
  6. Message-ID: <BxL77r.G16@constellation.ecn.uoknor.edu>
  7. Date: Thu, 12 Nov 1992 04:59:50 GMT
  8. References: <1683@igd.fhg.de> <RJC.92Nov11155141@daiches.cogsci.ed.ac.uk>
  9. Organization: Engineering Computer Network, University of Oklahoma, Norman, OK, USA
  10. Lines: 17
  11.  
  12. In article <1683@igd.fhg.de>, Peter Baumann (pb) writes:
  13.  
  14. >pb> Have you ever had something named X in your home directory when
  15. >pb> starting xinit? (I figure that each of us has "." at the beginning
  16. >pb> of the PATH variable...) - Nice effect.
  17.  
  18. I thought it was generally accepted that having "." at the beginning of
  19. the PATH variable was a bad idea because of various nasty tricks
  20. such as, for instance, having a world-executable shell script named "ls"
  21. in a directory that contains the command "rm -rf ~". Then if you changed
  22. to that directory and typed "ls", you'd wipe out your directory, since
  23. "./ls" and not "/bin/ls" would be executed.
  24.  
  25. Or is this something different?
  26.  
  27. Norman
  28. norlin@mailhost.ecn.uoknor.edu
  29.