Skip to content

Commit

Permalink
profiles: wget: allow ~/.local/share/wget (#6542)
Browse files Browse the repository at this point in the history
wget appears to require access to this directory for HSTS & HPKP.

Without access to this directory, I get the following error when running
wget:

    Failed to read HSTS data
    Failed to read HPKP data
    Failed to write HSTS file

This fixes it.
  • Loading branch information
celenityy authored Nov 24, 2024
1 parent 5804bb6 commit 66a2818
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions etc/profile-m-z/wget.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include wget.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.local/share/wget
noblacklist ${HOME}/.netrc
noblacklist ${HOME}/.wget-hsts
noblacklist ${HOME}/.wgetrc
Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/wget2.profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ include wget2.local
#include globals.local

noblacklist ${HOME}/.config/wget
noblacklist ${HOME}/.local/share/wget
ignore noblacklist ${HOME}/.wgetrc

private-bin wget2
Expand Down

0 comments on commit 66a2818

Please sign in to comment.