Subject: Re: /var/mail permissions... To: None <> From: Mike
Long <> List: current-users Date: 05/27/1997 20:33:11 >Date:
Sat, 24 May 1997 12:19:36 -0700  >We need to be consistent about
system mailbox locking. If we want to use >link ('dot') locking,
then the directory has to be writable by mere mortals >(and we
gotta modify the mtree stuff). If we decide that flock(2) is The
>Way, then the permissions that /var/mail comes with are just
fine, since >only mail.local will be creating files in there.
Just using flock(2) will >mean that locking won't work on NFS'd
/var/mail partitions, but NFS-based >locks never did work
anyway, so only very foolish people actually NFS their
>/var/mail partitions...  Uh, what?  Dot-locking should work
just fine on NFS partitions.  >Either way, Mail(1) needs to be
fixed.  I proposed a while ago that we make mail(1) setgid, like
SYSV does. However, before we can do that we need to verify that
mail(1) is setgid-safe, i.e. it doesn't suffer from buffer
overflow problems &c. I made a