Suppressing permissions reset

Lowell Gilbert freebsd-questions-local at
Tue Jun 20 21:27:38 UTC 2006

Mark <admin at> 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.

More information about the freebsd-questions mailing list