Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2006 17:27:36 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Mark <admin@asarian-host.net>
Cc:        'FreeBSD-Questions Questions' <freebsd-questions@freebsd.org>
Subject:   Re: Suppressing permissions reset
Message-ID:  <4464ivo6uv.fsf@be-well.ilk.org>
In-Reply-To: <200606200103.k5K13pEI017488@asarian-host.net> (Mark's message of "Tue, 20 Jun 2006 01:03:52 GMT")
References:  <200606200103.k5K13pEI017488@asarian-host.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark <admin@asarian-host.net> writes:

> When doing a "make buildkernel" and "make installkernel" on FreeBSD
> 4.11-RELEASE (on a Vmware box), I noticed the Makefile in /usr/src/etc,
> for one, tries to reset permissions on files taken from a series of *.dist
> files. I find such initiative a bit too forward for my taste. Is there a
> way I can suppress said behavior? Like a Makefile parameter or something.

Not really.

> And would zero-ing out the *.dist files do the trick?

Yes.  I would recommend against doing that, though; it's a great
protection against shooting your security in the foot.  Just decide
what you want the permissions to be, and adjust the mtree(8)
specifications (those .dist files) accordingly.



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