summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {