From owner-freebsd-questions Fri Jul 14 12:37:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from snoopy.brwn.org (intgw1.brwn.org [196.28.127.66]) by hub.freebsd.org (Postfix) with ESMTP id A8FE937B7F2 for ; Fri, 14 Jul 2000 12:37:52 -0700 (PDT) (envelope-from willem@snoopy.brwn.org) Received: by snoopy.brwn.org (Postfix, from userid 1001) id 1028E1D8C; Fri, 14 Jul 2000 13:54:18 +0200 (SAST) Date: Fri, 14 Jul 2000 13:54:17 +0200 From: Willem Brown To: Harry Putnam Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var/mail Read only with mutt Message-ID: <20000714135417.B72008@snoopy.brwn.org> References: <87sntfapy5.fsf@satellite.local.lan> <20000713150234.G48641@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from reader@newsguy.com on Fri, Jul 14, 2000 at 03:05:44AM -0700 X-Public-Key: http://willem.brwn.org/pubkey.txt X-Chat-Server: http://chat.brwn.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, man 2 chmod and man 8 sticky If mode ISVTX (the `sticky bit') is set on a directory, an unprivileged user may not delete or rename files of other users in that directory. The sticky bit may be set by any user on a directory which the user owns or has appropriate permissions. For more details of the properties of the sticky bit, see sticky(8). Regards Willem On Fri, Jul 14, 2000 at 03:05:44AM -0700, Harry Putnam wrote: > Ben Smithurst writes: > > > . . . . . . . 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). > > > > > Chmod 1777 cured the problem, but does it raise any tricky security problems? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- /* =============================================================== */ /* Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours. */ /* =============================================================== */ When things are going well, someone will inevitably experiment detrimentally. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message