Comment 18 for bug 1175947

Revision history for this message
Andrew Wilkinson (ajw-free) wrote :

I'm sorry to read that the fix does not yet work in all cases.

Following on from my previous post:

I am using Ubuntu 15.10 beta2 followed by recent apt-get dist upgrade on +-30 September 2015.
The gvfs package updated to: gvfs_1.24.2-0ubuntu1_amd64.deb

I have tested the following three android devices:

Samsung Galaxy Note 4 SM-N910F (running Android 5.1)
Samsung Galaxy S4 i9500 (running Android 5.0.1)
Samsung Galaxy Note 10.1 2014 SM-P601 (running Android 4.4.2)

I performed the following tests via usb:

(1) Copying files from phone to Ubuntu laptop (RESULT: timestamp preserved)
(2) Copying files from Ubuntu laptop to phone (RESULT: *** timestamp NOT preserved ***)

(3) Copying files from phone to Windows 7 (RESULT: timestamp preserved)
(4) Copying files from Windows 7 to phone (RESULT: timestamp preserved)

All three android devices behave in the same way.

It is weird that timestamps are properly preserved in both directions for Windows 7,
yet timestamps are only preserved in one direction for Ubuntu (with gvfs 1.24.2).

The previous post suggested that there are problems relating to lack of support from Google android developers (and that is why it is difficult for Linux developers to fix).

Why then does it work properly for Windows if it is an Android problem?

Clearly the problem is only partially solved for Ubuntu.

It is still a serious problem if transferring files from Ubuntu to the phone destroys timestamps.
Please, can someone fix this problem or contact someone who can! (for the sake of Linux!!!)

(But I am still delighted that I can now move my photos & videos from my phone to my laptop without timestamp corruption. The problem was more serious for videos as it appears that no date information is stored inside the mp4 file; for jpg images, the date is stored inside the file).