Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2005 11:02:35 +0100
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>, freebsd-current@freebsd.org, =?iso-8859-1?Q?=C1d=E1m?= Szilveszter <adamsz@mailpont.hu>
Subject:   Re: fetch extension - use local filename from content-disposition header
Message-ID:  <20051230100234.GA855@zaphod.nitro.dk>
In-Reply-To: <43B4FFB2.4090203@infracaninophile.co.uk>
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>

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

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



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