-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
No error is given when trying to save to an unwriteable path #1359
Comments
You can change the save location like this: Also, you can give rnote permission to other file locations using Flatseal. |
Maybe i should adjust the title. My main issue isn't really that the default save location is set to Also, changing the permissions on the flatpak, wont change the fact that a normal user can't write to |
/
and no error is given when trying to save
You are right. I could reproduce the behavior. You should add "change workspace directory to root" in steps to reproduce the behavior. For other unwriteable paths than root, rnote does show error. |
I didn't change anything personally, thats why i didn't include it. |
Maybe this happens because of permissions issue + the walkup function rnote/crates/rnote-ui/src/utils.rs Line 245 in 58087a1
/ is left)
|
Describe the bug
The default save location is set to
/
and since the user doesn't have rights to write there, the file isn't saved and there is no note about it. This happens for example, when you haven't saved the document yet and are closing rnote. Lost a few documents this way already. I know that for some people it sets the home directory as the default save location.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the Dialog to either give a writeable path or to at least error and give the option to change the path, when trying to save to an unwriteable location.
Console Output
Desktop:
The text was updated successfully, but these errors were encountered: