Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 18:58:49 -0800
From:      Rahul Dhesi <dhesi@rahul.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: 'make installworld' makes /var/mail world-not-writable
Message-ID:  <199903310258.AA09076@waltz.rahul.net>
References:  <freebsd-stable.199903301833.LAA24075@freebie.dcfinc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Chad R. Larson" <chad@freebie.dcfinc.com> writes:

>The user agents are supposed to lock using the lockf(2) call on the
>mailbox, which is owned by the user.  Mail transport agents, on the
>other hand, are supposed to run "set group id" to group "mail"....

Which can work if your FreeBSD box owns the /var/mail filesystem.

But what if it's just an NFS client and some other server exports
/var/mail to it, and there are a bunch of other clients that all use
.lock files on that filesystem?

Unlike / and /usr and /etc, which can be considered private to each
machine, /var/mail is much more likely to be a global filesystem with a
site-wide, not machine-specific, file locking policy and permissions.
-- 
Rahul Dhesi <dhesi@spams.r.us.com>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903310258.AA09076>