<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vmiklos@collabora.com" title="Miklos Vajna <vmiklos@collabora.com>"> <span class="fn">Miklos Vajna</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - FILESAVE: Saving a document creates a new file (new inode number) thereby messing-up with the creation time of the document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125401">bug 125401</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>NEEDINFO
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - FILESAVE: Saving a document creates a new file (new inode number) thereby messing-up with the creation time of the document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125401#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - FILESAVE: Saving a document creates a new file (new inode number) thereby messing-up with the creation time of the document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125401">bug 125401</a>
              from <span class="vcard"><a class="email" href="mailto:vmiklos@collabora.com" title="Miklos Vajna <vmiklos@collabora.com>"> <span class="fn">Miklos Vajna</span></a>
</span></b>
        <pre>I'm not sure what to fix here. My understanding is that ~all software has this
best practice, that if you overwrite a large file, then first you write to a
tmp file next to the final target, and once you're done, you delete the
original and move the tmp file to the final destination.

Sure, if really wanted we can keep this for Windows only where we have
ReplaceFileW(), but I would rather close this as wontfix.

References:

- <a href="https://lwn.net/Articles/682721/">https://lwn.net/Articles/682721/</a> "the standard POSIX atomic-overwrite trick
(write to temporary file in same directory, rename over the top)"
- GLib's g_file_set_contents() does the same</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>