home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 3986 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  3.0 KB

  1. Path: sparky!uunet!mcsun!julienas!corton!geocub!taliesin!mendez
  2. From: mendez@taliesin.greco-prog.fr (Mendez Marc)
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: "Problems restoring protection" in 2.4.17
  5. Message-ID: <1993Jan7.122302.7151@greco-prog.fr>
  6. Date: 7 Jan 93 12:23:02 GMT
  7. References: <1992Dec17.080506.21820@lth.se>
  8. Sender: usenet@greco-prog.fr (le facteur fnet)
  9. Organization: LMI (LaBRI University Bordeaux France)
  10. Lines: 64
  11. X-Newsreader: TIN [version 1.1 PL7]
  12.  
  13. Kurt Swanson (kurt@dna.lth.se) wrote:
  14. > Every time I leave elm after reading new messages (only in my incoming
  15. > folder), I get the message "Problems restoring protection...".  What's
  16. > wrong here?  I have no functionality problems - everything seems to
  17. > work fine, but I just get this message...
  18. > What's the deal?
  19. > -- 
  20. > Kurt Swanson, Dept. of Computer Science,
  21. > Lunds universitet.  Kurt.Swanson@dna.lth.se
  22. > -- 
  23. > Kurt Swanson, Dept. of Computer Science,
  24. > Lunds universitet.  Kurt.Swanson@dna.lth.se
  25.  
  26. I think I know one reason. If you cannot access the chgrp command (in
  27. fact in C, the chown() instruction), the problem happens. When you
  28. quit elm, it try to restore the group file to the mail group. Of
  29. course, in that configuration it can't. On my machine, the group of my
  30. mailbox becomes my group. The trouble is that right access are read for
  31. the priviligied group, so when it switches to my group, anybody in my
  32. group can read my mailbox !
  33. For this case the solutions are :
  34. -    unset all the read bits for your group and the priviligied
  35.     group for your mailbox file, after the first "restoring
  36.     protection" problem. You must configure as well all the mail
  37.     readers you may use to keep your mailbox file even if it's
  38.     empty. So, you won't need to bother the read bits later.
  39.     Otherwise, when a new mailbox file will be created, the problem will
  40.     happen again.
  41.  
  42. OR
  43.  
  44. -    Ask your administrator to install the executable. Elm will own
  45. to root, with a sticky bit (you'll will have to recompile elm to
  46. switch a flag in the configuration as well ). Normally, root has
  47. access to the chown() instruction (!). But it will have to prevent
  48. from opening a shell via ELM (guess why....).
  49.  
  50. As for me, I use the first solution, and it's work fine. But I must
  51. warn my friends when they use it for the first time.
  52.  
  53. Pleased to help you.
  54.  
  55. Marc.
  56.  
  57. --
  58.  
  59.  
  60. WARNING : 
  61. -------
  62.     Now  : mendez@taliesin.greco-prog.fr
  63.     Soon : mendez@taliesin.emi.u-bordeaux.fr
  64.  
  65. ------------------------------------*--------------------------------------
  66. MENDEZ Marc                    |    E-Mail :mendez@taliesin.greco-prog.fr
  67. ------------------------------------*--------------------------------------
  68. Residence Le Mail            |     Licence d'informatique
  69. Bat B, Appt 414                |     UFR d'informatique
  70. Rue Louis JOUVET              |     Universite de BORDEAUX 1
  71. 33600 PESSAC - FRANCE            |     351, cours de la Liberation
  72. Home Phone : (33) 56 46 14 52        |   33405 TALENCE, FRANCE
  73. ------------------------------------*--------------------------------------
  74. "The trouble with computers is they do everything we tell them to do, but not 
  75.  what we would like them to do."
  76.