Nautilus fails to preserve directory timestamp on move

Bug #1542146 reported by Paul on 2016-02-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)

Bug Description

Move a directory using mv and its mtime will be preserved. Move a directory using Nautilus, and its mtime will be set to the time it was moved. This is a bug.

Nautilus preserves mtime for file and directory copies as well as file moves. Moveover, if the user attempts to move a directory that the user does not have permission to delete (e.g. it is owned by another user), a copy will be created with the correct mtime. This indicates that Nautilus is taking an additional step that blats the mtime, but only on moves, and only after they have already successfully created the destination file.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: nautilus 1:3.14.2-0ubuntu13
ProcVersionSignature: Ubuntu 4.2.0-25.30-generic 4.2.6
Uname: Linux 4.2.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 5 14:08:02 2016
GsettingsChanges: b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'group', 'where', 'mime_type', 'owner', 'permissions']"
InstallationDate: Installed on 2013-04-15 (1025 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130413)
SourcePackage: nautilus
UpgradeStatus: Upgraded to wily on 2015-08-31 (157 days ago)

Paul (i41bktob-launchpad-net) wrote :
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in nautilus (Ubuntu):
importance: Undecided → Low
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, doing a mv by dnd of a folder doesn't modify the mtime here (on xenial or newer), do you still get that issue? If so could you give some details on what the dir is (layourt, filesystem) and how you move it?

Changed in nautilus (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers