Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 15:12:42 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Harry Putnam <reader@newsguy.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /var/mail  Read only with mutt
Message-ID:  <20000714151242.W48641@strontium.scientia.demon.co.uk>
In-Reply-To: <m2u2dthvrb.fsf@reader.ptw.com>
References:  <87sntfapy5.fsf@satellite.local.lan> <20000713150234.G48641@strontium.scientia.demon.co.uk> <m2u2dthvrb.fsf@reader.ptw.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--zvmqw4jX2vbPsMQB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Harry Putnam wrote:

> Ben Smithurst <ben@FreeBSD.ORG> writes:
>=20
>> . . . . . . .   I prefer to make /var/mail mode 1777 (i.e.
>> world writable with the sticky bit, like /tmp).  Just do a 'chmod 1777
>> /var/mail'.  If you intend to upgrade using make world, you should put
>> this command in /etc/rc.local or somewhere since the upgrade will reset
>> /var/mail to its default mode (775).
>=20
> Chmod 1777 cured the problem, but does it raise any tricky security probl=
ems?

Hmm.  I suppose it could, but I think a mode 1777 /var/mail is one of
the two common ways of doing things.  (The other way is a mode 775
/var/mail (group "mail") and have all mail clients on the system setgid
"mail".)  Neither way seems particularly pleasant.

--=20
Ben Smithurst                 / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /

--zvmqw4jX2vbPsMQB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: p+8UZ3vWl4rt8N1Zf6yyx6i/rvragG6O

iQCVAwUBOW8f2SsPVtiZOS99AQFsbQP/Y3+0swShWN4el5h62/+ftz/QHU/GR+PI
I3NtcYX43qFAY63fv/3OGfnKMCVHRqJ69TtfHFH7a+XQuz9++j/tOr/VRkzgnPz8
f2vM9h0e6g9O8dxnquXgWKfyke3H1SEwflcOEFiOeR5CnzPL9l5z9/s5vrxU1EAK
1Y/dWjSOLP8=
=CyrA
-----END PGP SIGNATURE-----

--zvmqw4jX2vbPsMQB--


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




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