I can confirm the problem on Xubuntu 17.10. I think the problem is caused by 
braces "()" in file names. [1]
The MTP backend does not seem to  like them.

It can be reproduced as follows:

1. Check that mtp works in general
2. create a regular file with only "a-z0-9" chars in a dir on your MTP device
3. mount and access it from Linux. This should work in most cases.

4. Now try the error case
5. create file with braces "()" in a dir on your MTP device.
6. mount and access it from Linux using `thunar`, `nautilus`, or even using 
`ls` or `cd` on the  command line. This should produce the file manager (or 
console) to hang and no longer respond to user input, etc.

I also suspect this bug to be the cause for other bugs, e.g. in `gvfs`
[2]

[1] related error report at askubuntu 
https://askubuntu.com/questions/995383/nautilus-hangs-on-accessing-dcim-camera-on-android/1013351
[2] maybe related gvfs bug 
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1314556

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1263355

Title:
  Unable to directly access files of any smartphone from Ubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to