Public bug reported:

A colon in a file or directory name causes the operation to hang when
copying to a phone via ptp.

To reproduce:

On android phone:
1) plug usb cable between phone and computer
2) Go to settings.  Search for USB. Click on "Standard USB configuration".
  (Alternately, notice mystery status card at very bottom of notifications 
saying "Android system - charging over USB, click for options", and click on 
it.) 
3) Select PTP.

Then on Ubuntu 20.04 (and probably other recent vintages as well):

0) observe your phone popping up in dock and in Files
1) cp good.mp3 bad:.mp3
2) xdg-open .
3) In dock or Files, also open your phone
4) drag good.mp3 to your phone, note that it succeeds
5) drag bad:.mpd to your phone, note that it hangs

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gvfs 1.44.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-48.54~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-48-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Mar 28 15:28:32 2021
InstallationDate: Installed on 2020-10-17 (162 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

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

Title:
  colon in name causes gvfs hang when copying to phone

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

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

Reply via email to