Skip to content
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

Does not open notes created on another device: Permission denied #1403

Open
2 tasks done
miguelmenendez opened this issue Nov 21, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@miguelmenendez
Copy link

Before submitting an issue, please check the following

  • I have searched for similar issues (both open and closed) and cannot find a duplicate
  • I agree to follow the Code of Conduct

Describe the bug

Android 14, Saber v0.24.2 F-Droid (25020).

When I create a note, for example, on the tablet and copy it to another device, for example, the mobile (copied by hand or synced with Syncthing), it does not show up on the device on which it was not created.

The same thing happens with the whiteboard. On the device on which it was not created, the error is:

_[SEVERE] PathAccessException: Cannot open file, path = '/storage/emulated/0/Documents/Saber/whiteboard.sbn2' (OS Error: Permission denied, errno = 13)

To reproduce

Create a note on one device, copy it to another device, and try opening it on the second device.

Expected behavior

Notes should open on any device regardless of which one they were created on.

Saber version

0.24.2 F-Droid (25020)

Device

  • OS: Android 14

Anything else?

No response

@miguelmenendez miguelmenendez added the bug Something isn't working label Nov 21, 2024
@ComputerElite
Copy link

ComputerElite commented Nov 22, 2024

Experiencing similar behavior. I uninstalled saber (installed via FDroid) then installed the Play store version and I couldn't even see the notes which are in my saber folder anymore. Then I switched back to the FDroid version. Trying to rename a folder doesn't work as well.

Log:
SEVERE at 2024-11-22 13:43:08.807425
PathAccessException: Rename failed, path = '/storage/emulated/0/Download/saber/Physik/MSS12' (OS Error: Operation not permitted, errno = 1)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _Directory.rename. (dart:io/directory_impl.dart:195)

#2 FileManager.renameDirectory (package:saber/data/file_manager/file_manager.dart:439)

#3 _BrowsePageState.build. (package:saber/pages/home/browse.dart:153)

#4 _GridFolderState.build. (package:saber/components/home/grid_folders.dart:210)

#5 _RenameFolderDialogState.build. (package:saber/components/home/rename_folder_button.dart:109)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants