Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2013 22:10:00 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/178284: make installworld doesn't detect UID correctly and fails due to not having enough permissions
Message-ID:  <201305012210.r41MA0ac030270@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/178284; it has been noted by GNATS.

From: Brooks Davis <brooks@FreeBSD.org>
To: "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/178284: make installworld doesn't detect UID correctly and
 fails due to not having enough permissions
Date: Wed, 1 May 2013 17:03:27 -0500

 On Wed, May 01, 2013 at 06:51:59PM +0000, Wojciech A. Koszek wrote:
 > >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.
 
 Other than not being automatic, the NO_ROOT option introduced in HEAD
 in January will accomplish all of this (you set permissions with mtree
 instead of a script, but that's just a detail).  I hope to merge it to 9
 in the next week.  Virtually all the supporting commits are now
 complete.
 
 -- Brooks



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