Newly copied files report zero (0) file size

Bug #1487546 reported by Phill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Expired
High
Unassigned

Bug Description

1) Boot into the standard Ubuntu session.
2) Connect an MTP device (I've used HTC One M8 and Tesco Hudl, although both required a udev rule entry to get them to mount automatically)
3) Copy a file to the device using `cp` in a terminal (not Nautilus).
4) Check it's size, it reads zero.
5) Check size in a Nautilus, it reads zero.
6) Unmount the device in Nautilus.
7) Remount the device in Nautilus.
8) Check file size again, it will be correct.

Copying files using Nautilus appears to work properly, but this excludes the use of a wide range of utilities, such as `cp`, `rsync` and the like. This may be a gvfs-fuse issue or gvfs-backend issue, feel free to change, I wasn't sure.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gvfs 1.20.3-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.16.0-46.62~14.04.1-generic 3.16.7-ckt15
Uname: Linux 3.16.0-46-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.12
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug 21 17:23:21 2015
InstallationDate: Installed on 2015-07-13 (39 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Phill (phill.l) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. It could be fixed with 2.24.2 which has been uploaded to wily today (but is not accepted yet) which includes this bugfix
https://git.gnome.org/browse/gvfs/commit/?h=gnome-3-16&id=725eaa2e33a842f812caf59af8a8766461bf9512

would be nice to test with that version once it builds

Changed in gvfs (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gvfs (Ubuntu) because there has been no activity for 60 days.]

Changed in gvfs (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.