summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTiago Salem Herrmann <salem@mandriva.com.br>2008-05-28 17:23:29 +0000
committerTiago Salem Herrmann <salem@mandriva.com.br>2008-05-28 17:23:29 +0000
commit86f95f8a1a7669e2fc87306b8071841f43ace4dd (patch)
tree317005b0f6169975c6bca0313b7457a2af3c2b18 /perl-install
parent79d5df49e1c798890524165b9f3c8c43c292a56f (diff)
downloaddrakx-backup-do-not-use-86f95f8a1a7669e2fc87306b8071841f43ace4dd.tar
drakx-backup-do-not-use-86f95f8a1a7669e2fc87306b8071841f43ace4dd.tar.gz
drakx-backup-do-not-use-86f95f8a1a7669e2fc87306b8071841f43ace4dd.tar.bz2
drakx-backup-do-not-use-86f95f8a1a7669e2fc87306b8071841f43ace4dd.tar.xz
drakx-backup-do-not-use-86f95f8a1a7669e2fc87306b8071841f43ace4dd.zip
- do open bug in running firefox drakbug (#31109)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/run_program.pm3
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e01bf8196..d7bbb2d6d 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- do open bug in running firefox drakbug (#31109)
+
Version 10.4.239.5 - 8 May 2008, Thierry Vignaud
- do not run main_quit if not in a main loop (eg: while loading GUI)
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 11ebc2289..0f84b9087 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -111,7 +111,8 @@ sub raw {
} else {
if ($options->{setuid}) {
require POSIX;
- POSIX::setuid($options->{set_uid});
+ $ENV{'LOGNAME'} = getpwuid($options->{setuid}) || $ENV{LOGNAME};
+ POSIX::setuid($options->{setuid});
}
sub die_exit {