TeamAmaze / TeamAmaze/AmazeFileManager
Bookmarks that lead to directories that require certain permissions are not accessible - Error: "Bookmark not found, recreating..."
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Describe the bug
Bookmarks that lead to directories which require specific permissions to be opened can not be used. It is possible to create them, but they do not load the linked directories.
Instead you get an error message and/or Amaze opens the Android "open with" menu.
These directories are accessible with Amaze while browsing regulary of course.
To Reproduce
Steps to reproduce the behavior:
- Go to 'a folder which requires root to be entered and is only accessible to the owner (e.g. /data/adb)'.
- Click on the '3 dot menu' to the right of the folder and then at 'Add to Bookmark's'.
- Open the left menu and click on the created bookmark.
- See error 'Bookmark not found, recreating and/or see Amaze load the "open file with..." menu (see screenshot or video).'
Expected behavior
Amaze opens the bookmarked folder.
Video
https://youtu.be/aCf-_rvCfHE
Screenshots
Smartphone (please complete the following information):
- Device: Google Pixel 7 Pro
- OS: Android 13
- Rooted: Yes
- Version: 3.8.5
Additional context
Some bookmarks which lead to dirs in the root path are accessible - like '/data/data' and some like /data/data/com.termux aren't. Seems related to which unix permissions are set.
This or almost a similiar issue is already reported in #2084 but was closed because it couldn't be reproduced.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the bookmark flow from the folder's three-dot menu through the left navigation menu, using a root-protected directory such as /data/adb and comparing it with /data/data. Review the related report in #2084 and trace why the bookmark produces “Bookmark not found” or the Android open-with menu. Done means bookmarks open protected directories reliably without breaking accessible root-path bookmarks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100