wget is not working as normal user, but working for root

Bug #525628 reported by Naga Samrat Chowdary, Narla
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: wget

I am using Ubuntu 10.04, downloaded from http://cdimage.ubuntu.com/daily/current/
after i install, i set the proxy setting through system-> preferences-> network proxy.

i restarted machine.

at terminal, as normal user if i do "wget www.google.com" it is not working, showing connection refuses.
if i do the same (wget www.google.com) as root i was able to download the page.

same behavior is observed even after i set export http_proxy=host:port ( i was given my proxy and port values).

Thanks in advance
Naga Samrat Chowdary.

Tags: wget
Revision history for this message
Robert Casanova (secoder) wrote :

Doesn't matter if you specify the proxy options on a user based .wgetrc or in the global /etc/wget.

Changed in wget (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Casanova (secoder) wrote :

It seems the problem is somewhere in the retr.c file, something concerning the no_proxy_match method and getproxy method. Still looking.

Revision history for this message
Robert Casanova (secoder) wrote :

The environment variable that Ubuntu 10.04 creates from the GNOME GUI for the whole systems has an extra comma at the very end of the no_proxy list. That gets compared wrongly by the no_proxy_match, sufmatch method, returning always true and retrieving the URL without proxy.

Temporary solution is to re-export the no_proxy variable.

Looking now at the Network Proxy Preferences.

affects: wget (Ubuntu) → gnome-control-center (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

is the issue similar to bug #558300?

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
neuromancer (neuromancer) wrote :

Is this bug fixed?
I've tried just a few minutes ago on my Ubuntu 10.4 and wget www.google.com work normally from root and also from normal user.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the configuration tools got rewritten in GNOME3 which deprecates the issue, closing the bug

Changed in gnome-control-center (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.