Regression: cp fails to copy files to Android device using MTP (os error 95)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
OS: Ubuntu 25.10 beta (all updates as of September 23rd)
Problem:
Copying files to an Android device via MTP fails with the Rust coreutils cp command. After connecting an Android device via USB (MTP mode) and running:
cp 'main.pdf' '/run/user/1000/gvfs/mtp:host=QUALCOMM_LAGOON-MTP__SN%3AEC8FEFA4_9c03b7ab/Internal shared storage/Documents/main.pdf'
I get the error:
cp: 'main.pdf' -> '/run/user/1000/gvfs/mtp:host=QUALCOMM_LAGOON-MTP__SN%3AEC8FEFA4_9c03b7ab/Internal shared storage/Documents/main.pdf': Operation not supported (os error 95)
With GNU coreutils, the copy operation succeeds.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the Rust coreutils cp command on Ubuntu using an Android device connected through MTP and the /run/user/1000/gvfs path shown in the report. Compare the same copy operation with GNU coreutils to identify the differing behavior. Done means cp successfully copies main.pdf to the device's Documents directory without the os error 95.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100