Ubuntu

nautilus file copy doesn't preserve nanosecond timestamps

Reported by Mechanical snail on 2010-09-19
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nautilus
Confirmed
Medium
nautilus (Ubuntu)
Low
Unassigned
Nominated for Natty by Mechanical snail

Bug Description

Binary package hint: nautilus

nautilus 1:2.30.1-0ubuntu1.1 in Ubuntu Lucid

When copying files in Nautilus, the low 3 decimal digits in the copy are set to zero. In other words, it only preserves 2-microsecond resolution.

Steps to reproduce:
1. Create a file (on a filesystem supporting nanosecond timestamps) and view its timestamp:
username@host:/dev/shm$ touch original-file
username@host:/dev/shm$ ls --full-time original-file
-rw-r--r-- 1 username username 0 2010-09-19 07:27:56.463178584 +0000 original-file

2. Copy file in Nautilus to the same or another filesystem, and view new file's timestamp
# original-file copied to file-nautilus
username@host:/dev/shm$ ls --full-time file-nautilus
-rw-r--r-- 1 username username 0 2010-09-19 07:27:56.463178000 +0000 file-nautilus

Expected result: New file has exactly the same timestamp. For example, cp --preserve=all works properly:
username@host:/dev/shm$ cp --preserve=all original-file file-cp
username@host:/dev/shm$ ls --full-time file-cp
-rw-r--r-- 1 username username 0 2010-09-19 07:27:56.463178584 +0000 file-cp

Actual result: last 3 digits of copy are 000.

There was a similar bug in OpenSolaris: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6539657
I have no idea whether the root cause is related, though.

tags: added: metadata nanosecond
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
 https://bugzilla.gnome.org/show_bug.cgi?id=634320

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in nautilus:
importance: Undecided → Unknown
status: New → Unknown
Changed in nautilus:
importance: Unknown → Medium
status: Unknown → New
tags: removed: metadata nanosecond
Changed in nautilus:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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