zhanghai / zhanghai/MaterialFiles

[Bug] readdir64: No such file or directory

Open
#233 0 comments 1 reaction 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

Description

When I want to access a particular folder (in this case inside the /Pictures/Screenshots folder on my SD card), Material Files shows the following error:

java8.nio.file.DirectoryIteratorException: java8.nio.file.NoSuchFileException: /storage/emulated/0/Pictures/Screenshots: readdir64: No such file or directory

Note: The folder is NOT empty and I can access it from other file managers.


Info

Device: Motorola Moto G3
ROM: LineageOS 14.1 (unofficial)
App version: 1.0.1
Store: F-Droid


Any other useful information that you have not clarified, you can request it from me.

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

Start by reproducing access to /storage/emulated/0/Pictures/Screenshots on the reported Moto G3 running LineageOS 14.1 and Material Files 1.0.1, then trace the directory-listing entry point that produces the readdir64 exception. Done means the non-empty folder opens successfully without this error on the affected setup.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.