-
Notifications
You must be signed in to change notification settings - Fork 39
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
FM claims that it needs root to delete a file #142
Comments
|
It happens always. The reported file path is |
One more:
|
The file was downloaded with Firefox |
Would be great if you could share a screen recording. |
There is not much going on. Just a toast at the bottom of the screen with the error message appearing. |
5db3bb5f-c3ee-4e0a-a2d1-285a3fbe92d1.mp4 |
This function is probably returning May or may not be related to #82 but this does seem like a device specific issue. |
Maybe the logic could be improved to better handle such cases? What would happen if the app attempted to delete the file even if it was not allowed to? I can build the app and add some logging if that can help fix the issue. |
Yes. A
More investigation is due but the code that "finds" the SD card path is located inside the commons library: https://github.com/FossifyOrg/Commons/blob/3dd1f7f33ec9d7001a6a81584917971bdf44f50c/commons/src/main/kotlin/org/fossify/commons/extensions/Context-storage.kt#L37 For a start, you may try to log the |
I built the latest version from source and file deletion just works there. |
That is strange. Can you try again with a clean install of the official version? |
I uninstalled and installed the app. Deleting files now also works. |
Maybe a device or SD Card issue. Closing for now, will reopen if it's reported again. |
It seems that my device is haunted 👻 |
Checklist
Affected app version
1.0.1
Affected Android/Custom ROM version
Android 15
Affected device model
Sony Xperia 5 V
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
Expected behavior
The file should get deleted
Actual behavior
FM claim that this operation only works on rooted devices
Screenshots/Screen recordings
No response
Additional information
Other file manager like https://f-droid.org/packages/me.zhanghai.android.files/ are able to delete files in that location.
The text was updated successfully, but these errors were encountered: