Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2013 18:51:59 GMT
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/178284: make installworld doesn't detect UID correctly and fails due to not having enough permissions
Message-ID:  <201305011851.r41Ipxec002073@red.freebsd.org>
Resent-Message-ID: <201305011900.r41J00us093048@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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