Newly copied files report zero (0) file size
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
ProcVersionSign
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)
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 /git.gnome. org/browse/ gvfs/commit/ ?h=gnome- 3-16&id= 725eaa2e33a842f 812caf59af8a876 6461bf9512
https:/
would be nice to test with that version once it builds