x0b / rcx

Rclone for Android
https://x0b.github.io
GNU General Public License v3.0
1.72k stars 155 forks source link

[BUG] Lack of read access to (Internal Storage)/Android/data #172

Open 0xlne opened 3 years ago

0xlne commented 3 years ago

What version of RCX are you using (About -> App version)?

1.12.2

What is your Android version, phone model and manufacturer?

Android 11

Which steps are required to reproduce this issue?

  1. Open remote (local internal storage)
  2. Provide permissions (Settings -> Grant MANAGE_EXTERNAL_STORAGE permission) or "Allow access to manage all files" in Android settings.
  3. Try to access (Internal Storage)/Android/data
  4. RCX shows an empty folder. Other file managers (Material File Manager, Amaze File Manager, Ghost Commander), on the same device, provided the same permissions, are able to access this folder - via SAF. Using SAF to add this as a new location or remote in RCX only shows an empty folder. I presume this is related to the manner RCX treats scoped storage.

What is your configuration (rclone.conf)?

Does the same issue also occur when using the same configuration on a PC or in Termux?

What are the contents of Android/data/io.github.x0b.rcx/files/logs/log.txt?

log.txt (click to expand)

2021-08-14 10:06:41 - 
2021-08-14 10:07:24 - 
2021-08-14 10:09:32 - 
2021-08-14 10:12:25 - 
2021-08-14 10:30:15 - 
2021-08-14 10:30:35 - 
2021-08-14 10:34:45 - 
2021-08-14 10:35:03 - 
2021-08-14 10:38:37 - 
2021-08-14 10:38:38 - 
2021-08-14 10:44:02 - 


locuturus commented 3 years ago

First thought is those other apps may be targeting an older API. The behavior you describe for RCX is expected starting with apps targeting Android 11. Only DocumentsUI (AOSP file manager) can view and edit that directory.