Restic Mount - Be More Vocal Regarding Permission Issues #1724
Labels
category: mount
help: wanted
state: need feedback
waiting for feedback, e.g. from the submitter
state: need implementing
cause/request established, need work/solution
type: bug
Output of
restic version
restic 0.8.3
compiled with go1.10.1 on linux/amd64
How did you run restic exactly?
What backend/server/service did you use to store the repository?
Backblaze B2
Expected behavior
Restic should warn you on the command line that the repository couldn't be mounted due to permissions issues.
Actual behavior
Restic does not inform you of this until you "cancel" after waiting for a confirmation of mounting (which is not received). Then, the user is informed as a "mount helper error".
Steps to reproduce the behavior
Make a new directory which your user account does not have write access to, and try mounting to it. Then, after waiting some time (to confirm it won't mount), Ctrl+c, and you will see what happens.
Do you have any idea what may have caused this?
Presumably just that nobody thought it would be necessary to generate such a message at this point :)
Do you have an idea how to solve the issue?
Catch the error and display relevant info to the user.
Did restic help you or made you happy in any way?
Absolutely; every day :D Restic is life!
The text was updated successfully, but these errors were encountered: