zhanghai / zhanghai/MaterialFiles

Cannot copy or move a file from internal storage to any directory in root on other users

Open
#1,062 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

On other users, when I try to copy a file to any directory within the "root" tab (/data/local/tmp/ in this case) in material files, it gives me this error:
Screenshot_20231111-090824_Material Files
I am on crDroid 9.10 (android 13) and I have granted root access with Sui. A possible solution could be using /data/media/UserID/ instead of /storage/emulated/UserID if a user wants to transfer files to a location that is wtihin the root directory.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are identified. Start by reproducing the copy or move from internal storage to /data/local/tmp/ under another Android user with root access through Sui, then compare the behavior of /storage/emulated/UserID and /data/media/UserID. Done means the operation works for the reported cross-user root-directory case.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.