home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 3087 < prev    next >
Encoding:
Text File  |  1992-07-28  |  2.1 KB  |  50 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!math.fu-berlin.de!unidui!du9ds3!veit
  3. From: veit@du9ds3.uni-duisburg.de (Holger Veit)
  4. Subject: Re: 2 Problems: No disk Label, Tip doesn't Work
  5. References: <1992Jul27.152614.25898@psg.com> <1992Jul28.065521.3441@spcvxb.spc.edu> <1992Jul28.122647.7234@ulowell.ulowell.edu> <Bs3wJp.88I@watdragon.uwaterloo.ca>
  6. Date: 29 Jul 92 08:24:24 GMT
  7. Reply-To: veit@du9ds3.uni-duisburg.de
  8. Organization: Uni-Duisburg FB9 Datenverarbeitung
  9. Sender: @unidui.uni-duisburg.de
  10. Message-ID: <veit.712398264@du9ds3>
  11. Lines: 37
  12.  
  13. In <Bs3wJp.88I@watdragon.uwaterloo.ca> kcwellsc@watdragon.uwaterloo.ca (Ken Wellsch) writes:
  14.  
  15. >>    The second problem I had was getting tip to work, and I saw a
  16. >> couple of posts about this, but no solution.  When tip is configured
  17. >> properly, we get the
  18. >>    no file or no lock error.  (sorry, I can't be more precise, but
  19. >> I can't get that far again without reinstalling 386BSD on my whole
  20. >> system, and then I can't get tip to work to read mail and news for the
  21. >> solution :-)
  22.  
  23. >I think you will find that "tip" is setuid "uucp."  Now it wants to create
  24. >a lock file under /var/spool/lock I believe.  You'll probably find that
  25. >/var/spool/lock is owned by root and mode 0755.  Thus "uucp" is unable to
  26. >write/create a lock.  I'm not sure whether "uucp" should own the directory
  27. >or if it should be world writeable with the sticky-bit on like /tmp.
  28.  
  29. I looked at SunOS to see what they did. They have 
  30.  
  31. -rws--x--x  1 acu      daemon      73728 Feb  8  1990 /usr/bin/tip
  32.  
  33. and
  34.  
  35. drwxr-sr-x 13 bin      bin           512 Jul 25 11:31 /var/spool
  36. drwxr-sr-x  2 acu      uucp          512 Jul 23 18:03 /var/spool/locks
  37.  
  38. This looks quite reasonable. Look if something like this works under 386bsd
  39. (perhaps replace acu with uucp, or create an entry).
  40.  
  41. Hope that helps.
  42.  
  43. Holger
  44.  
  45. -- 
  46. |  |   / Holger Veit             | INTERNET: veit@du9ds3.uni-duisburg.de
  47. |__|  /  University of Duisburg  | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
  48. |  | /   Dept. of Electr. Eng.   | "No, my programs are not BUGGY, these are
  49. |  |/    Inst. f. Dataprocessing |          just unexpected FEATURES"
  50.