[snap] allow access user's .netrc for site authentication (#1352)

The personal-files interface request is granted by the Snap Store.

Fixes #759.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
master
林博仁(Buo-ren, Lin) 2021-03-05 04:36:49 +08:00 committed by GitHub
parent 106cdc37c0
commit 6e94491847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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