Date: Wed, 6 Apr 2005 14:01:31 +0200 From: Marwan Burelle <Marwan.Burelle@lri.fr> To: Joel <rees@ddcom.co.jp> Cc: freebsd-ports@freebsd.org Subject: Re: chmod -R g+w /usr/ports? Message-ID: <20050406120131.GC83595@pc5-179.lri.fr> In-Reply-To: <20050406200627.C9C7.REES@ddcom.co.jp> References: <20050406190138.C9C1.REES@ddcom.co.jp> <20050406102339.GA2506@droopy.unibe.ch> <20050406200627.C9C7.REES@ddcom.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 06, 2005 at 08:06:46PM +0900, Joel wrote: > Does that mean that if the port honors WRKDIRPREFIX, I can even=20 > 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 =2E.. ) --=20 Burelle Marwan, Equipe Bases de Donnees - LRI http://www.cduce.org (burelle@lri.fr | Marwan.Burelle@ens.fr) --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCU8+bI+2UvUKfgvgRAqqlAJ9gsthIOIo82kuZMn6q41vkROdtAQCfStFn +DZP4ZchCD4uTApKf8J6FpI= =62GA -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050406120131.GC83595>