misc/178284: make installworld doesn't detect UID correctly and fails due to not having enough permissions

Wojciech A. Koszek wkoszek at FreeBSD.org
Wed May 1 19:00:00 UTC 2013


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


More information about the freebsd-bugs mailing list