So not attempt to alter creation date of newly created file.

This commit is contained in:
Richard Frith-Macdonald 2020-06-09 11:43:56 +01:00
parent 2132ba09d9
commit 41ab84eaba

View file

@ -1787,9 +1787,11 @@ failure:
{
/*
* We have created a new file - so we attempt to make it's
* attributes match that of the original.
* attributes match that of the original (except for those
* we can't reasonably set).
*/
[att removeObjectForKey: NSFileSize];
[att removeObjectForKey: NSFileCreationDate];
[att removeObjectForKey: NSFileModificationDate];
[att removeObjectForKey: NSFileReferenceCount];
[att removeObjectForKey: NSFileSystemNumber];