From owner-freebsd-current@FreeBSD.ORG Fri Jan 21 15:18:00 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67BC116A4CE for ; Fri, 21 Jan 2005 15:18:00 +0000 (GMT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF79E43D58 for ; Fri, 21 Jan 2005 15:17:59 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id B90652A8056 for ; Fri, 21 Jan 2005 16:17:58 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id DB85B408E; Fri, 21 Jan 2005 16:17:48 +0100 (CET) Date: Fri, 21 Jan 2005 16:17:47 +0100 From: Jeremie Le Hen To: freebsd-current@freebsd.org Message-ID: <20050121151747.GA36660@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Cannot install kernel as user X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 15:18:00 -0000 Hi, my laptop is a very slow beast but this is the only computer I can actually run -CURRENT on. In order to parallelize task, when my laptop is fsck'ing after a panic, I use a collegue's computer on which I have a shell to build the new kernel. Everything works quite well, except that when I install the kernel, install(8) will stop on chown(2) : %%% propane:Z6PO$ make KERNEL=kernel.test DESTDIR=$HOME/export install [...] mkdir -p /home/tataz/export/boot/kernel.test install -p -m 555 -o root -g wheel kernel /home/tataz/export/boot/kernel.test install: /home/tataz/export/boot/kernel.test/kernel: chown/chgrp: Operation not permitted *** Error code 71 Stop in /usr/home/tataz/FreeBSD/CURRENT/src/sys/i386/compile/Z6PO. %%% 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. Regards, -- Jeremie Le Hen jeremie@le-hen.org