summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 810f8850..0475d6c7 100755
--- a/control-center
+++ b/control-center
@@ -1306,7 +1306,7 @@ my @menu_items = (
sub run_browser {
my ($url) = @_;
$url = "http://wiki.mandriva.com/en/Releases/Mandriva/$release->{version}/$url" if $url !~ m!^http://!;
- run_program::raw({ detach => 1 }, '/usr/bin/www-browser', $url);
+ run_program::raw({ detach => 1, setuid => getpwuid(get_parent_uid()) }, '/usr/bin/www-browser', $url);
}
my ($menu, $factory) = create_factory_menu($window_global, @menu_items);