HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] WARNING: Potential Risk With Faxsetup
While doing some very quick compiling and installing
from one HylaFax version to another as part of a quick
testing process, I managed to delete my entire /tmp
directory which contained a lot of important system
files. Fortunately, I had a backup, but since the backup
was at least 24 hours old, a few files were irrecoverable.
The culprit was the HylaFAX faxsetup script. I don't recall
exactly what happened, but at one point I had exited the
script using the CTRL-C key. When faxsetup was run again,
it completely removed the /tmp directory.
Faxsetup contains a variable TMPDIR which is used to
refer to a temporary storage directory. This is a bad
choice because a system variable TMPDIR already exists.
On my system, TMPDIR = /tmp, and somehow, when faxsetup
was restarted, the value of this variable was retained.
Because this directory is removed by faxsetup, my entire
/tmp directory was deleted.
The name of this variable should be changed to TEMPDIR
or TEMP or something else that will not conflict with
the already present TMPDIR system variable.
From now on, I will manually alter this variable name to
avoid another potential disaster.
Andrew Kalten
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*