bugGNU Wget - Bugs: bug #22766, .netrc supersedes .wgetrc


bug #22766: .netrc supersedes .wgetrc

Submitter:  Noël Köthe <nok>
Submitted:  Fri 28 Mar 2008 06:28:54 PM UTC
Category:  Program Logic Severity:  2 - Minor
Priority:  5 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  1.11 Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  2.0 Regression:  None
Work Required:  None Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 28 Mar 2008 06:52:08 PM UTC, comment #1: 

gives a rationale for .netrc superseding because it's more "specific".

The problem, of course, is that it's not "more specific to Wget", but allows more specific (per-host) settings.

IMO, .wgetrc (and command-line) should supersede, but .wgetrc should also provide the same precision capabilities .netrc does.

Should probably done when path-specific config is done.

Micah Cowan <micahcowan>
Fri 28 Mar 2008 06:28:54 PM UTC, original submission:  


a forwarded bug I can reproduce with 1.11.1: http://bugs.debian.org/134765

$ cat .wgetrc
login = anonymous

$ cat .netrc
default login bug134765 password wget

$ LC_ALL=C wget -d ftp://ftp.debian.org/debian/pool/main/w/wget/wget_1.11.1.orig.tar.gz
DEBUG output created by Wget 1.11.1 on linux-gnu.

--2008-03-28 19:27:21--  ftp://ftp.debian.org/debian/pool/main/w/wget/wget_1.11.1.orig.tar.gz
           => `wget_1.11.1.orig.tar.gz'
Resolving ftp.debian.org...
Caching ftp.debian.org =>
Connecting to ftp.debian.org||:21... connected.
Created socket 3.
Releasing 0x0000000000653bd0 (new refcount 1).
Logging in as bug134765 ... 220 saens.debian.org FTP server (vsftpd)

--> USER bug134765

530 This FTP server is anonymous only.

The server refuses login.
Closed fd 3

.wgetrc should supersede .netrc IMHO.

Do you agree?

Regards Noèl

Noël Köthe <nok>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by micahcowan (Posted a comment)
  • -email is unavailable- added by nok (Submitted the item)

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-07-02 atul Carbon-Copy- Added atul
    2008-03-28 micahcowan Severity3 - Normal 2 - Minor
        StatusNone Confirmed
    2008-03-28 micahcowan Planned ReleaseNone 2.0

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code