From e20a4f9ab395d3d354364f859f27a634bacc21f5 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 21 Mar 2002 17:56:06 +0000 Subject: use /root rather than /tmp for some temp files (security suxx) --- perl-install/install_any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 575183b2a..ea2639dd3 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -748,8 +748,8 @@ sub getAndSaveAutoInstallFloppy { } elsif (arch() =~ /ia64/) { #- nothing yet } else { - my $imagefile = "$o->{prefix}/tmp/autoinst.img"; - my $mountdir = "$o->{prefix}/tmp/aif-mount"; -d $mountdir or mkdir $mountdir, 0755; + my $imagefile = "$o->{prefix}/root/autoinst.img"; + my $mountdir = "$o->{prefix}/root/aif-mount"; -d $mountdir or mkdir $mountdir, 0755; my $param = 'kickstart=floppy ' . generate_automatic_stage1_params($o); -- cgit v1.2.1