From owner-freebsd-questions Fri Jul 14 8:21:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id A221537C827 for ; Fri, 14 Jul 2000 08:15:09 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13D6Co-0004CR-00; Fri, 14 Jul 2000 15:12:42 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13D6Co-000L0E-00; Fri, 14 Jul 2000 15:12:42 +0100 Date: Fri, 14 Jul 2000 15:12:42 +0100 From: Ben Smithurst To: Harry Putnam Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var/mail Read only with mutt Message-ID: <20000714151242.W48641@strontium.scientia.demon.co.uk> References: <87sntfapy5.fsf@satellite.local.lan> <20000713150234.G48641@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="zvmqw4jX2vbPsMQB" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --zvmqw4jX2vbPsMQB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Harry Putnam wrote: > Ben Smithurst 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