From 6e9449184796e965ac377b7e9e42a5e7b6f43acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=2C=20Lin=29?= Date: Fri, 5 Mar 2021 04:36:49 +0800 Subject: [PATCH] [snap] allow access user's .netrc for site authentication (#1352) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The personal-files interface request is granted by the Snap Store. Fixes #759. Signed-off-by: ๆž—ๅšไป(Buo-ren Lin) --- snap/snapcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index dc03b1aa..5f38ff53 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -50,6 +50,10 @@ plugs: interface: system-files read: - /etc/gallery-dl.conf + dot-netrc: + interface: personal-files + read: + - $HOME/.netrc parts: # Launcher programs to fix problems at runtime