[9604] in bugtraq
Re: Lynx /tmp problem
daemon@ATHENA.MIT.EDU (Piotr Klaban)
Tue Feb 16 16:00:09 1999
Date: Mon, 15 Feb 1999 11:31:26 +0100
Reply-To: Piotr Klaban <makler@MAN.TORUN.PL>
From: Piotr Klaban <makler@MAN.TORUN.PL>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To: <14019.60036.729465.704972@cerise.sensei.co.uk>; from Glynn
Clements on Fri, Feb 12, 1999 at 08:47:00AM +0000
On Fri, Feb 12, 1999 at 08:47:00AM +0000, Glynn Clements wrote:
> Juan Diego Bolanos wrote:
> > I have found a bug in Lynx all versions, except the latest stable
> > release...
> >
> > lynx create temporary files in /tmp in this way....
>
> [details of your average /tmp problem snipped].
Alternatively you could redefine TEMP_SPACE macro in
userdefs.h before the compilation, from:
#define TEMP_SPACE "/tmp/"
to:
#define TEMP_SPACE "~"
This could be configuration option perhaps.
Using /tmp as a temporary directory for files
downloaded with lynx makes the system
out of swap space (at least on Solaris where /tmp
is linked with swap). With many users running
lynx you could have megabytes of files in /tmp,
which could be downloaded directly into user
home directory. Lynx makes temporary files
for every file it has to download, also for
huge zip archives.
Piotr Klaban