Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209777 - net-misc/wget-1.11 won't read ~/.wgetrc
Summary: net-misc/wget-1.11 won't read ~/.wgetrc
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-12 07:12 UTC by Roman v. Gemmeren
Modified: 2008-03-16 07:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman v. Gemmeren 2008-02-12 07:12:08 UTC
i had a pre-1.11 version running fine with users using  ~/.wgetrc, but since the update to 1.11 those files (at least the ones with http_password* / http_user=* ) are not used anymore...

Reproducible: Always

Steps to Reproduce:
1. put the following in ~/.wgetrc:
"http_user=XXX
http_password=YYY"
2. try downloading from a password protected site ( like your rapidshare prem account )

Actual Results:  
no login is done, so no download

Expected Results:  
a file should have been downloaded
Comment 1 hiyuh 2008-02-12 07:25:01 UTC
I read wget-1.11 source a bit, then I found nice undocumented workaround(?).
Use this magic. :)

 export WGETRC="${HOME}/.wgetrc"
Comment 2 SpanKY gentoo-dev 2008-02-12 08:02:35 UTC
works fine for me:
$ strace -eopen wget localhost -q
...
open("/etc/wgetrc", O_RDONLY)           = 3
open("/home/vapier/.wgetrc", O_RDONLY)  = 3
...
Comment 3 SpanKY gentoo-dev 2008-03-16 07:50:48 UTC
please check with strace

also, post `emerge --info` as documented in the bug reporting page