From owner-freebsd-current@FreeBSD.ORG Fri Dec 30 10:02:38 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7127D16A41F for ; Fri, 30 Dec 2005 10:02:38 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id D77B643D45 for ; Fri, 30 Dec 2005 10:02:37 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 2DDC911916; Fri, 30 Dec 2005 11:02:36 +0100 (CET) Date: Fri, 30 Dec 2005 11:02:35 +0100 From: "Simon L. Nielsen" To: Matthew Seaman Message-ID: <20051230100234.GA855@zaphod.nitro.dk> References: <20051229193328.A13367@cons.org> <20051230021602.GA9026@pit.databus.com> <43B498DF.4050204@cyberwang.net> <43B49B22.7040307@gmail.com> <20051229220403.A16743@cons.org> <20051230053906.GA75942@pit.databus.com> <2440.193.68.33.1.1135932286.squirrel@193.68.33.1> <86irt7dk5k.fsf@xps.des.no> <43B4FFB2.4090203@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <43B4FFB2.4090203@infracaninophile.co.uk> User-Agent: Mutt/1.5.11 Cc: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-current@freebsd.org, =?iso-8859-1?Q?=C1d=E1m?= Szilveszter Subject: Re: fetch extension - use local filename from content-disposition header X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 10:02:38 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.12.30 09:36:50 +0000, Matthew Seaman wrote: > Dag-Erling Sm=F8rgrav wrote: > >Wrong. If you go into a ports directory and type 'make install clean' > >as an unprivileged user, the only parts of the build that actually run > >with root privileges are the final portions of the installation > >sequence. >=20 > Not if you, as a naive user, take a freshly installed system and an > unmodified environment. You'll need to make a bunch of changes > before everything will run smoothly: >=20 > * Make /usr/ports/distfiles writable by user or set $DISTDIR to > a writable directory > * Make /var/db/ports writable by user or set $PORT_DBDIR to a=20 > writable location > * Make each port directory writable -- so the the 'work' directories > can be created -- or set $WRKDIRPREFIX to a writable location. It should of cause be mentioned that by doing this you have now made it possible for "user" to gain root privileges. This might not a problem in many cases, but people should be aware of it. --=20 Simon L. Nielsen --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDtQW6h9pcDSc1mlERApdBAKCcG+msG5zZCP/S8Ed4HWH+jVdtNwCgxvid hPjJi55kVTKPuMZbqM5ddZY= =Vs2O -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--