Skip to content

Commit

Permalink
Allow read-write access to configuration and download directories whe…
Browse files Browse the repository at this point in the history
…n installed as a Snap (exercism#980)

* Allow read-write access to configuration and download directories.

We need write access to the $HOME/.config/exercism/ directory for `exercism config` and $HOME/exercism is the default download directory so we need write access there as well.

This should resolve issue exercism#945

* Permit writes to any files in user's home directory

Authored-by: Richard Neish <[email protected]>
  • Loading branch information
ekingery authored Feb 9, 2021
1 parent 01cb5bc commit aa9dcfa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,8 @@ snapcrafts:
386: i386
apps:
exercism:
plugs: ["home", "network", "removable-media"]
plugs: ["home", "network", "removable-media","personal-files"]
plugs:
personal-files:
write:
- $HOME/

0 comments on commit aa9dcfa

Please sign in to comment.