NEED_ROOT

Julien Laffaye jlaffaye at freebsd.org
Fri Oct 4 22:04:04 UTC 2013


On 10/4/2013 11:45 PM, Paul Schmehl wrote:
>> From my reading it appears that one of the goals of STAGE is to allow 
>> users 
> to build and install ports under their UID.  Are the perms in 
> /usr/ports changing?
>
> In testing the port that I'm working on, I find that I do not have 
> rights to write to /usr/ports/distfiles and I do not have rights to 
> write to ${WORKDIR}.  That pretty much precludes building the port 
> unless your root. No surprise there since the files in /usr/ports are 
> owned by root:wheel.
>
> So are the perms going to change?  Is port building going to run 
> setuid? Or is this a vaporware?
>

Well... set WRKDIRPREFIX and DISTDIR to point somewhere writable by your 
user.


More information about the freebsd-ports mailing list