[Libreoffice-bugs] [Bug 125401] FILESAVE: Saving a document creates a new file (new inode number) thereby messing-up with the creation time of the document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 29 15:46:04 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125401

--- Comment #7 from Alex <alex.dwd at gmail.com> ---
Ah. Good that the hard link problem is taken care of. :)

Not sure that the rest of the world just don't care, see for instance this
recent thread here:
https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-preserve-crtime-creation-birth-time-when-copying-from-windows-ntfs-to-linux-ext4-4175625229/

I admit it is a different case-scenario so I don't try to lean heavily on it,
but the thread is still an interesting read.

Reflecting on this read, I just noticed that for the file replacement, instead
of doing:
$ mv SOURCE DEST
(which preserves neither the creation time nor the modification time)
one could do:
$ cp -p SOURCE DEST
(which preserve both).

Wouldn't it be simple/easy to implement?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190529/2e56c532/attachment.html>


More information about the Libreoffice-bugs mailing list