Re: Cannot install kernel as user

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Sat, 22 Jan 2005 00:32:21 +0100
On Sat, Jan 22, 2005 at 05:35:46AM +1100, Peter Jeremy wrote:
> On Fri, 2005-Jan-21 08:59:35 -0700, Ryan Sommers wrote:
> >> I thought about adding a flag such as NO_INSTALLCHOWN in both
> >> kern.post.mk and kmod.mk.  What do you think of the idea ?
> >>
> >> I saw there are KMODOWN and KMODGRP in kmod.mk, but it seems there is
> >> no similar facility in kern.post.mk.  Maybe it would be worth having
> >> KERNOWN and KERNGRP as well.
> >>
> >> I can submit a patch if asked.
> 
> Yes please.

Well, firstly I wanted to introduced the NO_INSTALLCHOWN variable as I
said in my previous mail, preventing install(8) from doing a chown(2)
on the installed file (kernel or module).  But I finally decided to
use a variable named INSTALLCHOWN which will contain "-o user -g group".
This is more flexible and reduces the patch to its simplest form.

As Ryan Sommers stated, this patch is not mandatory but I will leave it
online [1] as it can be useful for some people.

Regards,

[1] http://jeremie.le-hen.org/~tataz/patches/FreeBSD/sys.INSTALLCHOWN.patch
-- 
Jeremie Le Hen
jeremie_at_le-hen.org

Received on Fri Jan 21 2005 - 22:32:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC