Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2000 19:55:08 -0600
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        Doug Lee <dgl@visi.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Best /var/mail permissions? 
Message-ID:  <200008010155.e711t8d08090@fedde.littleton.co.us>
In-Reply-To: <Pine.BSF.4.21.0007311935140.346-100000@kirk.dsl.visi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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