Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Mutt-J questions



>>>>> "Chris" == Chris Sekiya <chris@example.com> writes:

    Chris> On Tue, 26 Jan 1999, Jonathan Byrne wrote:

    >> Need to be running setgid 0 to lock mailbox!

    Chris> Unless I miss my mark, it claims that it needs to be setgid
    Chris> root in order to ensure exclusive access to
    Chris> /var/spool/mail/whatever. Methinks something got messed up
    Chris> during compile.

It _does_ need to be setgid <GID of /var/spool/mail> to write
lockfiles there.  Usual approach is to 

su
chown root.mail /var/spool/mail
chmod 0660 /var/spool/mail
for u in $USERLIST; do
 # if you're not group-per-user, the group here MUST NOT be mail
 chown $u.$u /var/spool/mail/$u
 # YMMV on the group permissions
 chmod 0660 /var/spool/mail/$u
done
exit

so my guess is that either ownership of /var/spool/mail is .root, or
the program doesn't check that and simply blindly says "Gimme root!"

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
__________________________________________________________________________
__________________________________________________________________________
What are those two straight lines for?  "Free software rules."
-------------------------------------------------------------------
Next Technical Meeting: February 13 (Sat), 12:30 place: Temple Univ.
** presentation: XEmacs, by Steven Baur and Martin Buchholz
Next Nomikai: March 19 (Fri), 19:30   Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links