backtop


Print


  (Source: Tom Karpik)
Moving files on Panther, Tiger, or Leopard can result in disappearing data if the connection to the destination is broken

A rather significant and disturbing bug has been uncovered by one Tom Karpik dealing with how Apple's OSX operating system handles file moves. Mr. Karpik details the process on his webpage, gives exact steps to reproduce the bug, and offers a downloadable video of it in action.

The bug dating back to OS X 10.3 is caused by a lack of error trapping in the "file move" process, and only occurs when moving a file or directory to another volume.

The logical file move process is a three-part procedure:
  1. Copy the file from SOURCE to DESTINATION.
  2. Determine if the file copied successfully to DESTINATION.
  3. If the file copied successfully, delete it from SOURCE.
Apparently, Apple forgot the bolded section of Step 3, because as Mr. Karpik shows in a series of screenshots, dropping the connection to the destination -- be it a USB drive being accidentally unplugged, the power cord to a FireWire hard drive being pulled out by an overzealous feline, or a network connection to a Samba share being lost -- causes OSX to abort the copy with a "typically useful error message" and then delete the source files.

With Apple having just shipped over two million copies of Leopard, that's a lot of potential data waiting to go missing. With luck, the Update Manager will be bouncing in Docks worldwide soon.

Incredibly, a similar bug was documented in Windows Vista last month.




"We are going to continue to work with them to make sure they understand the reality of the Internet.  A lot of these people don't have Ph.Ds, and they don't have a degree in computer science." -- RIM co-CEO Michael Lazaridis
Related Articles







Latest Blog Posts
Apple Car is Not Dead
Saimin Nidarson - Dec 5, 2016, 1:00 AM
More News
Saimin Nidarson - Dec 4, 2016, 5:00 AM
More News
Saimin Nidarson - Dec 3, 2016, 5:00 AM
Top News
Saimin Nidarson - Dec 2, 2016, 5:00 AM
Top Stories
Saimin Nidarson - Nov 28, 2016, 1:12 AM
News: Fidel Castro
Saimin Nidarson - Nov 27, 2016, 5:00 AM
Top News
Saimin Nidarson - Nov 26, 2016, 5:00 AM
Top Stories
Saimin Nidarson - Nov 22, 2016, 2:26 AM
Headline News:
Saimin Nidarson - Nov 21, 2016, 1:00 AM






botimage
Copyright 2016 DailyTech LLC. - RSS Feed | Advertise | About Us | Ethics | FAQ | Terms, Conditions & Privacy Information | Kristopher Kubicki