RedenCore / Reden

MIT License
9 stars 15 forks source link

Allow snap to write to user's homedir #32

Closed cimm closed 6 years ago

cimm commented 6 years ago

The current Reden snap (added in pull request #29) has no access to the user's homedir. This is annoying as it means users can't backup their wallet file outside of the confined snap directory.

We don't want to make it difficult to backup your wallet.

This pull request adds homedir read/write access for the Reden snap. The Reden Qt data directory is still the default common directory within the snap but, with this change, you can choose to store it somewhere in your homedir as well. I feel this has the best of both worlds: it's standard snap behavior (doesn't pollute anything outside the snap unless you tell it to) but still allows users to change the default at bootstrap.

Always backup your wallet.dat file in a save location, it contains all the secrets needed to restore your wallet if something goes wrong!

References #31 (background discussion on the expected snap behavior).