Skip to content

Regression: cp fails to copy files to Android device using MTP (os error 95) #8724

@Ethran

Description

@Ethran

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions