Can not copy files by cp from Samsung S5 Mini in GVFS in MTP mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
Invalid
|
Undecided
|
Philip Langdale |
Bug Description
In terminal:
jarnos@
-rw------- 1 jarnos jarnos 1205994 marra 3 11:44 20141103_114415.jpg
cp: cannot open ‘20141103_
But I can browse to the folder by Thunar or PCManFM and copy paste a file to ~/Desktop/. On the other hand I can not open the files even via those file managers.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: coreutils 8.21-1ubuntu5
ProcVersionSign
Uname: Linux 3.13.0-
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Nov 4 00:19:11 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-21 (43 days ago)
InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
SourcePackage: coreutils
UpgradeStatus: No upgrade log present (probably fresh install)
This is due to the limitations in non-Google mtp stacks. You cannot do direct file access, which makes it impossible to do low level file copies like this. The file managers use the gvfs api that allows file copies. From the command line you can use the gvfs-copy utility.
You could also install cyanogenmod on the phone to get the Google mtp stack.