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
I read wget-1.11 source a bit, then I found nice undocumented workaround(?). Use this magic. :) export WGETRC="${HOME}/.wgetrc"
works fine for me: $ strace -eopen wget localhost -q ... open("/etc/wgetrc", O_RDONLY) = 3 open("/home/vapier/.wgetrc", O_RDONLY) = 3 ...
please check with strace also, post `emerge --info` as documented in the bug reporting page