From owner-freebsd-bugs@FreeBSD.ORG Wed May 1 19:00:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A6E48633 for ; Wed, 1 May 2013 19:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7419B1F63 for ; Wed, 1 May 2013 19:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r41J00Rq093049 for ; Wed, 1 May 2013 19:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r41J00us093048; Wed, 1 May 2013 19:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 1 May 2013 19:00:00 GMT Resent-Message-Id: <201305011900.r41J00us093048@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Wojciech A. Koszek" Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D68EC5BE for ; Wed, 1 May 2013 18:51:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [69.147.83.34]) by mx1.freebsd.org (Postfix) with ESMTP id C6F301F2D for ; Wed, 1 May 2013 18:51:59 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r41IpxPS002074 for ; Wed, 1 May 2013 18:51:59 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r41Ipxec002073; Wed, 1 May 2013 18:51:59 GMT (envelope-from nobody) Message-Id: <201305011851.r41Ipxec002073@red.freebsd.org> Date: Wed, 1 May 2013 18:51:59 GMT From: "Wojciech A. Koszek" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/178284: make installworld doesn't detect UID correctly and fails due to not having enough permissions X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2013 19:00:00 -0000 >Number: 178284 >Category: misc >Synopsis: make installworld doesn't detect UID correctly and fails due to not having enough permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 01 19:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Wojciech A. Koszek >Release: FreeBSD 9.1-RELEASE-p3 >Organization: FreeBSD >Environment: FreeBSD freebsd_x64 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: make installworld will fail if you do it as non-root user. I think "make installworld" should warn user about running with non-root UID, and maybe ask for a "Press Y to continue", and should let me install the world correctly, without failing on "permission denied". In the perfect case, such installation would create a script e.g.: perms.sh in $DESTDIR/, so that once booted, I could just do sh /perms.sh and have everything be fixed. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: