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

Folder Permissions Required #246

Open
Wormsworth opened this issue May 23, 2024 · 7 comments
Open

Folder Permissions Required #246

Wormsworth opened this issue May 23, 2024 · 7 comments

Comments

@Wormsworth
Copy link

How do I set this?

@Heptanas
Copy link

Same shit. On android 12 tv cant get permission full control files on external drive. Please fix fast. Older biglybt version have permission in setting.

@Wormsworth
Copy link
Author

Would this cause files to not be promoted to correct directories? I have been getting files sent to all 3 directories. Inprocess, complete, and removed Usually with only the Name and a tmp subdirectory included. When Completed the full torrent files are not moved or removed

@antonsoroko
Copy link

Older biglybt version have permission in setting.

so indeed, version v1.3.2.0 has "allow management of all files" permission in settings.
i guess older versions are targeted for older android and older android (<=10) does not have separation for all/media files, so maybe with such old apk default "file permissions" were translated to "all file" in new android.

and v1.3.3 and later have only "allow access to media only" on android 11 and 12, in change log you can see that they are targeted to android 13. but it guess devs forgot to add new "file permission" mode, thus we stuck with "media only files".

@Wormsworth
Copy link
Author

Has biglybt been abandoned?

@TuxPaper
Copy link
Member

image

@TuxPaper
Copy link
Member

If you change a directory, the app should use the new SAF dialog and grant permissions. If the app isn't doing that, please provide more details.

@antonsoroko
Copy link

antonsoroko commented Nov 18, 2024

@TuxPaper i think there are several issues about "Folder Permissions Needed":

(there are also reports in #248 and #250)

  1. with downloading torrent - see screenshots from Android TV - Folder Permissions Needed #250

  2. with moving completed files - see Folder Permissions Required #246 (comment) (although, description of that issue is a bit unclear)

  3. i had issue with existing torrents data.
    i have torrent data on external usb hdd (in Android/Download/BiglyBT/ directory) that is formatted as portable (exFat). after reset of android tv box BiglyBT was not able to check the data of torrents that have non-media files (e.g. .txt), BiglyBT said that permission denied for opening file, then BiglyBT asked for "Folder Permissions Needed" and when i clicked it and then in new dialog i clicked "Authorize" - there was a system pop-up that said something like "there is no app to provide such activity".
    if i remove .txt file and then i do re-check and then i start downloading to download missing files - then BiglyBT fails to write needed chunks to existing media file as well.
    but if i download new torrent that have non-media files - then it is ok, BiglyBT can create all files.

maybe this is the reason of my issue:
https://developer.android.com/training/data-storage/shared/media#app-attribution

looks like now android associate files and apps, so if app does not have "full access" then it can not read or write to existing files.

so to solve this i had to move all torrents to "BiglyBT private external storage" (which is Android/data/com.biglybt.android.client/files/ on my external hdd) and then back to directory i want (Android/Download/BiglyBT/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants