Subject: Re: pkg_comp runs everything as root
To: Steven M. Bellovin <>
From: Jeremy C. Reed <>
List: pkgsrc-users
Date: 04/24/2006 09:03:15
On Mon, 24 Apr 2006, Steven M. Bellovin wrote:

> > You could do the builds and installs and packaging as non-root too. (And I 
> > do that frequently on some systems.) And some packages wont' build 
> > though.
> > 
> I'd like to do builds as non-root, but since builds generally recurse and
> install other packages, I don't see how that would work.

I have built over a thousand packages as non-root. (Including running our 
bulk builds framework.)

I used to manually set SU_CMD, CHGRP, CHOWN, etc. But now we can use the 
mk/ Just set UNPRIVILEGED=yes.

One problem is the users and groups. So manually set any as needed (like 

 Jeremy C. Reed

echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'