chmod -R g+w /usr/ports?
laszlof at tvog.net
Wed Apr 6 09:07:19 PDT 2005
Marwan Burelle wrote:
>On Wed, Apr 06, 2005 at 08:06:46PM +0900, Joel wrote:
>>Does that mean that if the port honors WRKDIRPREFIX, I can even
>>make install without switching to root? No?
>The short answer is no. There's two other problems for install,
>permissions for installing in /usr/local or /usr/X11R6 and permission
>to write to the /var/db/pkg dir in order to record the install in the
>The former issue can be solve by setting PREFIX to something else. But
>the latter is more problematic, what does it mean to record pkg to
>some other place ? Would you relax permission on /var/db/pkg ?
>Oh, I forgot some other point, distfiles ! Even with WRKDIRPREFIX you
>can't do a make if the distfiles is not present, you also need to set
>DISTDIR to a place where you have writing permissions.
>I face the problem some times ago when I want to use the ports tree to
>instal some apps without being root, I finaly change my mind, since it
>began to be as painfull as building the apps myself than trying to use
>the ports tree (think of all the dependancies, in particular libs
Take a look at http://www.franksworld.org/localuser_portinstall.html
Hope this helps.
More information about the freebsd-ports