Article View: comp.mail.elm
Article #3649Re: "Problems restoring protection" in 2.4.17
From: Mendez Marc
Date: Thu, 07 Jan 1993 12:23
Date: Thu, 07 Jan 1993 12:23
64 lines
3145 bytes
3145 bytes
Kurt Swanson (kurt@dna.lth.se) wrote: > Every time I leave elm after reading new messages (only in my incoming > folder), I get the message "Problems restoring protection...". What's > wrong here? I have no functionality problems - everything seems to > work fine, but I just get this message... > > What's the deal? > -- > Kurt Swanson, Dept. of Computer Science, > Lunds universitet. Kurt.Swanson@dna.lth.se > -- > Kurt Swanson, Dept. of Computer Science, > Lunds universitet. Kurt.Swanson@dna.lth.se I think I know one reason. If you cannot access the chgrp command (in fact in C, the chown() instruction), the problem happens. When you quit elm, it try to restore the group file to the mail group. Of course, in that configuration it can't. On my machine, the group of my mailbox becomes my group. The trouble is that right access are read for the priviligied group, so when it switches to my group, anybody in my group can read my mailbox ! For this case the solutions are : - unset all the read bits for your group and the priviligied group for your mailbox file, after the first "restoring protection" problem. You must configure as well all the mail readers you may use to keep your mailbox file even if it's empty. So, you won't need to bother the read bits later. Otherwise, when a new mailbox file will be created, the problem will happen again. OR - Ask your administrator to install the executable. Elm will own to root, with a sticky bit (you'll will have to recompile elm to switch a flag in the configuration as well ). Normally, root has access to the chown() instruction (!). But it will have to prevent from opening a shell via ELM (guess why....). As for me, I use the first solution, and it's work fine. But I must warn my friends when they use it for the first time. Pleased to help you. Marc. -- WARNING : ------- Now : mendez@taliesin.greco-prog.fr Soon : mendez@taliesin.emi.u-bordeaux.fr ------------------------------------*-------------------------------------- MENDEZ Marc | E-Mail :mendez@taliesin.greco-prog.fr ------------------------------------*-------------------------------------- Residence Le Mail | Licence d'informatique Bat B, Appt 414 | UFR d'informatique Rue Louis JOUVET | Universite de BORDEAUX 1 33600 PESSAC - FRANCE | 351, cours de la Liberation Home Phone : (33) 56 46 14 52 | 33405 TALENCE, FRANCE ------------------------------------*-------------------------------------- "The trouble with computers is they do everything we tell them to do, but not what we would like them to do."
Technical Details
Message-ID:
<1993Jan7.122302.7151@greco-prog.fr>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!julienas!corton!geocub!taliesin!mendezReferences:
<1992Dec17.080506.21820@lth.se>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!julienas!corton!geocub!taliesin!mendez From: mendez@taliesin.greco-prog.fr (Mendez Marc) Newsgroups: comp.mail.elm Subject: Re: "Problems restoring protection" in 2.4.17 Message-ID: <1993Jan7.122302.7151@greco-prog.fr> Date: 7 Jan 93 12:23:02 GMT References: <1992Dec17.080506.21820@lth.se> Sender: usenet@greco-prog.fr (le facteur fnet) Organization: LMI (LaBRI University Bordeaux France) Lines: 64 X-Newsreader: TIN [version 1.1 PL7]