-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backups Don't Work #448
Comments
Giving increased file system access (vs the flatpak defaults) doesn't seem to resolve the issue. Generally though, it seems like having access to user files/the home directory would make the most sense so the app has access to write backups anywhere the user (reasonably) selects. |
I think, instead of creating the Documents and Standard Notes Backups folder in the sandbox, the app should be given access to ~/Documents/standardnotes:create and ~/Standard Notes Backups:create directly. I disagree on giving access to the whole home directory though, I don't think the sandbox should be broken for a setting that most users won't change from the default. |
To my understanding, the directory names of the backups are different by accounts. It's almost impossible to just grant a fine-grained file system access. On the other hand, if you choose a custom location, the access will be automatically granted. |
But that directory is INSIDE the Documents/standardnotes folder, right? If you grant access to that folder, I believe it should work. Although, I did not test this myself. As for the custom location, the portal doesn't seem to work properly for whatever reason. CHOOSING a location works, but when you actually make the backup or press open folder it results in what OP got, some /run/user/1000/ whatever. |
I think being pedantic about the app's sandbox surface area is not particularly useful. The app has a feature to allow the user to put backups wherever they like. I don't think it's a reasonable thing to assume that most people (or even an insignificant percentage of people) would like to change this location. Also remember, this is an open source and audited app; not some random proprietary blob that's likely to be untrustworthy.
Yes, this. It's worth noting this used to work. |
The Standard Notes Backups feature doesn't seem to work, it ends up mapping to something like
/run/user/1000/doc/bla bla bla
rather than the selected folder.The text was updated successfully, but these errors were encountered: