Date: Thu, 15 Mar 2007 13:06:57 +0200 From: Danny Braniss <danny@cs.huji.ac.il> To: "Matthew D. Fuller" <fullermd@over-yonder.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Making /var/mail mode 1777 (was Re: Installing sendmail SUID installworld suggestion) Message-ID: <E1HRnnN-000LN7-Jt@cs1.cs.huji.ac.il> In-Reply-To: <20070315103800.GU56342@over-yonder.net> References: <200703151035.l2FAZjKa097746@lurza.secnetix.de> <20070315103800.GU56342@over-yonder.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, Mar 15, 2007 at 11:35:45AM +0100 I heard the voice of
> Oliver Fromme, and lo! it spake thus:
> >
> > What's the best way to prevent that? I tried editing the
> > appropriate mtree file, but that feels like a hack rather
> > than a clean solution.
>
> Well, I did it by the hack of stuffing a 'chmod 1777' in rc.local...
>
in /etc/mtree/BSD.var.dist, change
...
mail gname=mail mode=0775
to
mail gname=mail mode=1777
see also /etc/rc.d/var
danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HRnnN-000LN7-Jt>
