home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / elm / 3830 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.7 KB

  1. Path: sparky!uunet!gossip.pyramid.com!olivea!charnel!sifon!CC.UMontreal.CA!nadeau
  2. From: nadeau@JSP.UMontreal.CA (Nadeau Jean-Claude)
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: cann't write to /usr/spool/mail !!
  5. Message-ID: <1992Dec22.211556.15715@cc.umontreal.ca>
  6. Date: 22 Dec 92 21:15:56 GMT
  7. References: <1992Dec22.200722.6611@nsisrv.gsfc.nasa.gov>
  8. Sender: news@cc.umontreal.ca (Administration de Cnews)
  9. Organization: Universite de Montreal
  10. Lines: 33
  11.  
  12. In article <1992Dec22.200722.6611@nsisrv.gsfc.nasa.gov> mikeg@asylum.tmc.edu (Michael Grabenstein) writes:
  13. >    I had this error (see subject) for all of version 2.4.
  14. >and it finnally went away. What I did was this: In running the 
  15. >Configure program It would ask:
  16. >"Is elm going to be run as a setgid program? [y]"
  17. >    Since I was chmod'ing the program to 2755 I answered yes.
  18. >(Syd - was I wrong?) 
  19. >    What got rid of the infamous "can't write to /usr/spool/mail"
  20. >was just in answering no to that question. (why?)
  21. >    This is my system: Apollo domain series 4000 running 
  22. >domain/OS 10.3 (and others running 10.4)
  23. >
  24.     With BSD I guest!  I had the same problem here and I found
  25.     a quick (and durty???) way to "repair" it.  Elm must use
  26.     the "setegid" function instead of "setgid".  The last one
  27.     change the real and the effective GID and after changing
  28.     to the original GID of the user, the program cannot return
  29.     to the mail group GID.
  30.  
  31.     So I've just:
  32.  
  33.         #define setgid setegid
  34.  
  35.     in "config.h" and re-install Elm.  It worked just fine
  36.     with Elm 2.4PL17.
  37.  
  38.     Merry Xmas & Happy new year to all Elm fans
  39.     (and the others ;-).
  40.  
  41. -- 
  42. Jean-Claude Nadeau, ing.    <nadeau@ERE.UMontreal.CA>
  43. Services informatiques        Tel. (514) 343-6111,ext 5234
  44. Universite de Montreal        Fax  (514) 343-2155
  45.