From owner-freebsd-questions Tue Aug 1 8:38:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from webserver02.linux.microexpert.ch (webserver02.linux.microexpert.ch [194.230.70.153]) by hub.freebsd.org (Postfix) with ESMTP id 1E37037BF52 for ; Tue, 1 Aug 2000 08:38:32 -0700 (PDT) (envelope-from thomas@t-bader.ch) Received: from zeus.home.t-bader.ch (pop-zh-12-dialup-63.spectraweb.ch [194.230.8.63]) by webserver02.linux.microexpert.ch (8.10.2/8.10.2) with ESMTP id e71FbTH04805 for ; Tue, 1 Aug 2000 17:37:29 +0200 Received: from ricola.home.t-bader.ch (root@ricola.home.t-bader.ch [192.168.0.1]) by zeus.home.t-bader.ch (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA02257 for ; Tue, 1 Aug 2000 17:33:27 +0200 Received: (from tb@localhost) by ricola.home.t-bader.ch (8.10.1/8.10.1) id e71EM7m02886 for freebsd-questions@FreeBSD.ORG; Tue, 1 Aug 2000 16:22:07 +0200 Date: Tue, 1 Aug 2000 16:22:07 +0200 From: Thomas Bader To: freebsd-questions@FreeBSD.ORG Subject: Re: Best /var/mail permissions? Message-ID: <20000801162207.C2814@home.t-bader.ch> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <200008010155.e711t8d08090@fedde.littleton.co.us> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.4i In-Reply-To: ; from dgl@visi.com on Mon, Jul 31, 2000 at 09:05:06PM -0500 Organization: private X-Url: X-Cool: get your free UNIX account @ http://www.trash.net/ X-PGP-Key: mailto (automated reply) X-PGP-Algorithms: RSA and DSA/EG keys are available X-Operating-System: Debian GNU/Linux 2.1 (Kernel 2.2.14) X-Editor: Vim-507 http://www.vim.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Doug Lee [000801 04:05]: > Pine claims to share the locking scheme used by most mail delivery agents, > so it can coordinate with the delivery agents and avoid corrupting > mailboxes. This locking scheme involves creating a lock file in > /var/mail, which Pine can't do without the 1777 permissions because it > runs as the user. In my experience, if I don't give it the 1777 perms in > /var/mail, it uses file locking techniques but takes noticeably more time > at it. With 1777, it's really snappy. :-) But 1777 made me nervous, and > that's why I'm here. :-) Why you don't just do the following chmod 1775 /var/mail chgrp mail /var/mail chmod g+s /usr/local/bin/pine chgrp mail /usr/local/bin/pine This would grant write permissions to pine. Thomas --=20 .-. Thomas Bader =B7 thomasb@trash.net.remove =B7 http://www.t-bader.ch= / .-. oo| o= o| /`'\ Einen Unix-Shellaccount gibt es unter http://www.trash.net/ /`= '\ (\_;/) PGP Key-ID: 0x3A4B7F5D (RSA) 0x7584F5D8 (DSA/EG) (\_= ;/) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message