summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Salem Herrmann <salem@mandriva.com.br>2008-05-28 17:24:37 +0000
committerTiago Salem Herrmann <salem@mandriva.com.br>2008-05-28 17:24:37 +0000
commitaa6589f746b927451644dc3ba71531fb44241580 (patch)
treeea2c03c9eaacc584bb7691a5b83b617bb852a077
parent762c562772e8c1499f55a79dcb14b4cde1bb68f8 (diff)
downloaddrakx-aa6589f746b927451644dc3ba71531fb44241580.tar
drakx-aa6589f746b927451644dc3ba71531fb44241580.tar.gz
drakx-aa6589f746b927451644dc3ba71531fb44241580.tar.bz2
drakx-aa6589f746b927451644dc3ba71531fb44241580.tar.xz
drakx-aa6589f746b927451644dc3ba71531fb44241580.zip
- do open bug in running firefox drakbug (#31109)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/run_program.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 0fb70f1de..11d55d16d 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- do open bug in running firefox drakbug (#31109)
+
Version 10.29.5 - 20 May 2008
- draksound:
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index c75c4d6bb..0f84b9087 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -111,7 +111,7 @@ sub raw {
} else {
if ($options->{setuid}) {
require POSIX;
- $ENV{'LOGNAME'} = $options->{setuid} || $ENV{LOGNAME};
+ $ENV{'LOGNAME'} = getpwuid($options->{setuid}) || $ENV{LOGNAME};
POSIX::setuid($options->{setuid});
}