summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Salem Herrmann <salem@mandriva.com.br>2008-04-07 13:11:39 +0000
committerTiago Salem Herrmann <salem@mandriva.com.br>2008-04-07 13:11:39 +0000
commit9f4470a49cc77849ac3b2605a8559350efbcee9a (patch)
tree7ffa86d971561fc551251e724614c05001603865
parent353b1bc8c075223ef61eac3667cdc321d0f57f58 (diff)
downloaddrakx-9f4470a49cc77849ac3b2605a8559350efbcee9a.tar
drakx-9f4470a49cc77849ac3b2605a8559350efbcee9a.tar.gz
drakx-9f4470a49cc77849ac3b2605a8559350efbcee9a.tar.bz2
drakx-9f4470a49cc77849ac3b2605a8559350efbcee9a.tar.xz
drakx-9f4470a49cc77849ac3b2605a8559350efbcee9a.zip
- firefox needs LOGNAME to work properly. #31109
-rw-r--r--perl-install/run_program.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 425ad16cf..a891754b0 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -111,6 +111,7 @@ sub raw {
} else {
if ($options->{setuid}) {
require POSIX;
+ $ENV{'LOGNAME'} = $options->{setuid};
POSIX::setuid($options->{setuid});
}