1

I'm currently using Ubuntu 12.04 dual booted with Windows 7 and I've downloaded all the restricted extras.

But, still when I try to copy .mkv files from my android phone to my hard drive, I'm receiving below error message

You do not have permission to copy this file

How can I resolve this problem?

Is it due to the use of MTP protocol?

  • Does this problem appear under Ubuntu? – OrangeTux Feb 12 '14 at 14:29
  • This problem does not appear if I copy the file to hard disk with Windows and then move it to /home with Ubuntu. So I think something is wrong in Ubuntu. – Rupesh Routray Feb 12 '14 at 14:55
  • What directory are you trying to copy the files into when in Ubuntu? – douggro Feb 12 '14 at 15:34
  • to "Videos" folder under /home – Rupesh Routray Feb 12 '14 at 16:11
  • You may have to use Terminal to copy the files while invoking sudo. – douggro Feb 14 '14 at 5:58
0

As I thought, a problem due to MTP. I tried these commands;

sudo apt-get install golang fuse git-core libmtp-dev
sudo adduser $USER fuse mkdir /tmp/go
GOPATH=/tmp/go go get github.com/hanwen/go-mtpfs
sudo mv /tmp/go/bin/go-mtpfs /usr/bin
mkdir ~/MyAndrid

That installed "go-mtpfs". Now to mount your android,

go-mtpfs ~/MyAndroid &

volia! Now you can find your contents at MyAndroid folder in your home directory. If you want to unmount your phone, type

fusermount -u ~/MyAndroid

That's it.

  • Maybe gvfs-copy would also work – texasflood Feb 27 '15 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.