Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2005 12:07:15 -0400
From:      Frank Laszlo <laszlof@tvog.net>
To:        Marwan Burelle <Marwan.Burelle@lri.fr>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: chmod -R g+w /usr/ports?
Message-ID:  <42540933.2040209@tvog.net>
In-Reply-To: <20050406120131.GC83595@pc5-179.lri.fr>
References:  <20050406190138.C9C1.REES@ddcom.co.jp> <20050406102339.GA2506@droopy.unibe.ch> <20050406200627.C9C7.REES@ddcom.co.jp> <20050406120131.GC83595@pc5-179.lri.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

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
>system.
>
>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.

Regards,
    Frank Laszlo



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