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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2005.12.30 09:36:50 +0000, Matthew Seaman wrote: > Dag-Erling Smørgrav 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. > > 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: > > * 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 > 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. -- Simon L. Nielsen [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDtQW6h9pcDSc1mlERApdBAKCcG+msG5zZCP/S8Ed4HWH+jVdtNwCgxvid hPjJi55kVTKPuMZbqM5ddZY= =Vs2O -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051230100234.GA855>
