From: Murat Balci <balci () baum01 ! ege ! edu ! tr>
To: tru64-unix-managers
Subject: SUMMARY: mail problem
Date: Tue, 15 Aug 1995 18:13:53 +0000 [thread overview]
Message-ID: <96075322406594.tru64-unix-managers.marc@archive.invalid> (raw)
Thanx to Norman Wilson, immediately send the answer, and I solved the
problem. Its as follows ;
---------- Forwarded message ----------
Date: Tue, 15 Aug 95 15:01:25 -0400
From: Norman Wilson <norman@hprc.utoronto.ca>
To: balci@baum01.ege.edu.tr
Subject: mail problem
On many systems these days, binmail arranges to run as the user to whom
mail is being delivered, for various safety reasons; hence if that user
can't write in /var/spool/mail, the lockfile can't be created and mail
can't be delivered.
To allow this to work, but prevent users from removing others' mailboxes,
set the sticky bit on /var/spool/mail:
# chmod +t /var/spool/mail
# ls -lLd /var/spool/mail
drwxrwxrwt 2 root 1024 Aug 15 14:57 /var/spool/mail
#
(notice the `t' in the mode. In numbers this is mode 01777.)
The sticky bit on a directory means that anyone may create a file,
but no one except the super-user may remove (or rename) a file he
doesn't own.
The flag is useful to prevent havoc in /tmp as well.
Norman Wilson
University of Toronto
norman@hprc.utoronto.ca
next reply other threads:[~1995-08-15 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-08-15 18:13 Murat Balci [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-09-07 18:05 Summary: Mail Problem Glenda D. Monzon
2001-05-21 7:57 Summary: Mail problem Mark Bowman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox