Bug 460784 - Cannot rename and copy/move files between folders on android device storage via MTP
Summary: Cannot rename and copy/move files between folders on android device storage v...
Status: RESOLVED DUPLICATE of bug 325574
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 22.04.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 20:32 UTC by Andrey
Modified: 2022-11-16 07:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2022-10-20 20:32:10 UTC
Hello.
I cannot change files in any way on my Redmi 8 pro via MTP, only read. Tried in Dolphin and Krusader - i can read and download files from device without errors but cannot write or change/delete anything. Write-related options like rename or delete just grayed-out in dolphin, while any of such operations in Krusader just hangs on 1% and lasts forever until i cancel it.
Tested in cli with mtpfs tool - all works fine, read/write/rename and other - all works fine.
Please help me to fix it or even give me a clue how to debug it?
Thanks!


STEPS TO REPRODUCE
1. Plug in my phone
2. Select "File transfer" in popup (on the phone)
3. Select "Open in file manager" in pop-up on my PC
4. Enter into "Internal storage" folder and attempt to execute any write-related function (create/delete/rename/etc..)

OBSERVED RESULT
Got message "Could not write in file" (in Dolpin)
Operation hangs at 1% and lasts forever (until cancelled)

EXPECTED RESULT
Action completed successfully 


SOFTWARE/OS VERSIONS
OS: Linux Gentoo (profile: default/linux/amd64/17.1 (stable) )
Kernel: 6.0.0-gentoo-x86_64

kde-plasma/plasma-workspace: 5.25.5-r4
kde-frameworks/plasma: 5.96.0-r1
dev-qt/qtcore: 5.15.5-r3
kde-apps/kio-extras: 22.04.3

ADDITIONAL INFORMATION
- kernel compiled with CONFIG_FUSE_FS=y
- kde-apps/kio-extras USE flags: X handbook man mtp nfs samba sftp taglib
- "user_allow_other" enabled in /etc/fuse.conf
Comment 1 Andrey 2022-10-20 20:34:56 UTC
I will try to update to kde-apps/kio-extras 22.08.2 which marked as unstable and see what it does...
Comment 2 Andrey 2022-10-20 20:48:02 UTC
Good news: after update to kde-apps/kio-extras 22.08.2 i can successfully create/copy files into device and delete files on device, but still can't rename files or move/copy it from one folder to another on device storage (had to copy from device's old location->PC and only then PC->new location on device)
Comment 3 Harald Sitter 2022-11-16 07:37:13 UTC

*** This bug has been marked as a duplicate of bug 325574 ***