From: wonge@fraser.sfu.ca (Edmund Wong) Subject: Re: known problem with email...buy why? Date: Fri, 1 Jan 1993 09:08:42 GMT
In article <marcf.725838971@yorku.ca> marcf@nexus.yorku.ca (Marc G Fournier) writes:
>pmacdona@sanjuan (Peter MacDonald) writes:
>
>>Here is a shot in the dark: doesn't a process have to be running as
>>root to use "chown"? Elm is sgid mail.
>
> I just tested your shot in the dark, except that it isn't elm
>that creates the mailbox, it is smail...so I chown'd smail so that
>it had the suid set...still owned by the user who sent it :(
>
> I just tried suid'ing elm also...that still doesn't allow you
>to read the folder.
>
> This is most curious :( as was stated, the 'mail' command reads it
>without a problem (even though the user doesn't own themailbox), but
>elm doesn't...with same permissions.
>
> Question: Does anyone have this running successfully? Straight
>off the SLS distribution, without recompilng anything?
The wierd thing about it is that I've had it working perfectly once,
before I ahd to reinstall my system. But after using 'chown <username>
/usr/spool/mail/username' a few times, it started to work. But quite
frankly, it was a freak one.
--
InterNet: wonge@fraser.sfu.ca | "Fail not; Learn Not.
| It is with failing, that one learns,
| So by Learning, one must fail." - Edmund Wong