diff --git a/Source/NSData.m b/Source/NSData.m index 0258d7338..6f345f5e4 100644 --- a/Source/NSData.m +++ b/Source/NSData.m @@ -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];