Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2013 12:08:56 -0500
From:      Lowell Gilbert <>
To:        till plewe <>
Cc:        FreeBSD-Questions <>
Subject:   Re: local ports collection
Message-ID:  <44r49tg8uv.fsf@lowell-desk.lan>
In-Reply-To: <> (till plewe's message of "Wed, 4 Dec 2013 00:46:01 +0900")
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
till plewe <> writes:

> I would like to use the ports tree to install and manage packages inside my
> home directory. I tried setting:

Don't use DESTDIR; it doesn't do what you think it does.
[What did you think it did anyway, and why?]

> to directories within my home directory but then I get error messages like
> $ make build
> ===>  Creating some important subdirectories
> mount_nullfs: Operation not permitted
> when trying to build/install ports.
> Any suggestions on how to use ports completely avoiding root?
> (I rented space on a server and have permission to install binaries
> but do not have root access)

You'll probably have to change SU_CMD as well. 
Something like "su $USER -c" should do it.
And you may need to bootstrap the pkg(8) command somehow.

Good luck.

Want to link to this message? Use this URL: <>