From owner-freebsd-questions Mon Jul 31 18:55:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (fedde.littleton.co.us [216.17.174.44]) by hub.freebsd.org (Postfix) with ESMTP id AE36B37BB0D for ; Mon, 31 Jul 2000 18:55:10 -0700 (PDT) (envelope-from cfedde@fedde.littleton.co.us) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.0/8.11.0.Beta3) with ESMTP id e711t8d08090; Mon, 31 Jul 2000 19:55:08 -0600 (MDT) Message-Id: <200008010155.e711t8d08090@fedde.littleton.co.us> To: Doug Lee Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Best /var/mail permissions? In-Reply-To: From: Chris Fedde Date: Mon, 31 Jul 2000 19:55:08 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 Jul 2000 19:39:18 -0500 (CDT) Doug Lee wrote: +------------------ | Pine wants me to set mode 1777 on /var/mail, and doing so makes Pine much | faster at some operations like expunge and checking for new mail when I | hit `n' at the end of the message index. `make world' seems to reset | /var/mail to 770 however. I know mode 1777 lets users slip files up to | their quota limits into /var/mail but know of no other dangers to that | mode. | | Is there a major reason I should not (or should, for that matter) use mode | 1777 for /var/mail? +------------------ I'd be concerned about making this directory anyu kind of 777. There are probably a few race conditions that could be exploited when deleting and creating mail folders. Of course if these conditions are being exploited you probably have other problems too ;-) What's pine tucking up there that it needs world write for anyway? chris -- Chris Fedde 303 773 9134 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message