summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 4e90cf6f5..cfeadf928 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -670,8 +670,10 @@ sub update_userkderc($$$) {
} <INFILE>;
print OUTFILE "[$cat]\n", values %tosubst if values %tosubst; #- if categorie has not been found above.
+ my @l = (stat $inputfile)[4, 5];
unlink $inputfile;
rename $outputfile, $inputfile;
+ chown @l, $inputfile;
}
}