🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.elm
Article #5499

ELM PL23 messes up permissions

#5499
From: Thomas Bullinger
Date: Tue, 03 May 1994 13:23
66 lines
3883 bytes
Hi Netters,

I have an interesting problem with elm under SCO ODT 2.0. I recompiled my
sources (that worked perfect under SCO ODT 1.1) and now the "sh.. hits the
fan".

Whenever I access my mail folder (in /usr/spool/mail), read something (or
delete or ...) elm afterwards tries to restore the old file permissions. And
here is where the trouble begins. The file permissions in /usr/spool/mail
should be:
 114 -rw-------   1 mrbulli  family     56673 May 03 09:02 /usr/spool/mail/mrbulli

But they are:
 114 -rw-------   1 100      root       56673 May 03 09:02 /usr/spool/mail/mrbulli

The same is true when I try to append a message to an existing folder in
$HOME/Mail.

I use gcc 2.4.5 to compile/link, I have installed elm as non-setgid (but I
tried it with setgid - same problem).

Here is an excerpt from an elm DEBUG log:

 Debug output of the ELM program (at debug level 9).  Version 2.4 PL23


 *** Elm-Internal Signal Handlers Disabled due to debug level 9 ***

 ...
 -- leaving folder --

 Messages to delete: 0
 Messages to store: 0
 Messages to keep: 50

 ** sorting folder by Mailbox Order **

 find-old-current(45)
 	set current to 45!
 Lock /usr/spool/mail/mrbulli.lock outgoing for file /usr/spool/mail/mrbulli on.
 Lock outgoing on file /usr/spool/mail/mrbulli on.
 Lock outgoing for file /usr/spool/mail/mrbulli on successfully.
 block_signals
 Action: [Keeping all messages.]
 Copying to temp file messages to be kept #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #30, #31, #32, #33, #34, #35, #36, #37, #38, #39, #40, #41, #42, #43, #44, #45, #46, #47, #48, #49, #50, 

 ** saved stats for file owner = 100 group = 0 mode = 300600 /usr/spool/mail/mrbulli **
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ** size of save_buf = 32 **
 Copy: from='/tmp/snd.13878' to='/usr/spool/mail/mrbulli'
 ** restoring file stats for /usr/spool/mail/mrbulli **
 ** chmod(/usr/spool/mail/mrbulli, 600) returns 0 [errno=0] **
 ** elm_chown(/usr/spool/mail/mrbulli, 100, 0) returns 0 [errno=0] **
 Error: encountered error doing utime (leavmbox)
 ** Not owner **
 Lock /usr/spool/mail/mrbulli.lock for file /usr/spool/mail/mrbulli going off.
 unblock_signals

 Leaving mailer normally (leave)
 Lock  for file /usr/spool/mail/mrbulli already off.

Any ideas/suggestions?
--______ __ /\/\/\/\/\/\ This is my private account ! /\/\/\/\/\/\/\/\/\/\
    /   /  ) Home address: MRBULLI@BTOY1.ROCHESTER.NY.US
   /   /--<  Work address: THOMAS@IDX.KODAK.COM    Compu$erve: 76535,2221
(_/   /___/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Technical Details
Message-ID: <1994May03.132315.25562@btoy1.rochester.ny.us>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!news.kei.com!ub!galileo.cc.rochester.edu!ee.rochester.edu!btoy1!mrbulli

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100cc1,bfa12eb237ae988f,start
X-Google-Attributes: gid100cc1,public
X-Google-Thread: 1122ea,bfa12eb237ae988f,start
X-Google-Attributes: gid1122ea,public
X-Google-Thread: 10e366,bfa12eb237ae988f,start
X-Google-Attributes: gid10e366,public
X-Google-Thread: f641f,bfa12eb237ae988f,start
X-Google-Attributes: gidf641f,public
X-Google-ArrivalTime: 1994-05-03 07:44:20 PST
Newsgroups: comp.mail.elm,biz.sco.general,comp.mail,comp.unix.pc-clone.32bit
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!news.kei.com!ub!galileo.cc.rochester.edu!ee.rochester.edu!btoy1!mrbulli
From: mrbulli@btoy1.rochester.ny.us (Thomas Bullinger)
Subject: ELM PL23 messes up permissions
X-Disclaimer1: The views expressed herein are the sole responsibility of the
Organization: Private System
Date: Tue, 03 May 1994 13:23:15 GMT
Message-ID: <1994May03.132315.25562@btoy1.rochester.ny.us>
Followup-To: comp.mail.elm
X-Newsreader: TIN [version 1.2 PL2]
X-Disclaimer2: author and do not reflect those of the organization or company.
Keywords: ELM PERMISSIONS SCO ODT 2.0
Lines: 291