Feeds

Leopard data loss glitch uncovered

Moved to tears

The Essential Guide to IT Transformation

A blogger has uncovered what he claims is a "massive" bug in Apple's Mac OS X 10.5 Finder app that could result in the loss of data when folders are moved from a Mac to directly- or network-connected storage.

According to Tom Karpik, the bug manifests itself when an attempt to move - rather than copy - a folder from the Mac is interrupted. Moving a folder off a disk essentially involves first copying it then deleting the original. Karpik shows that Finder fails to ensure that the folder has been successfully written to the target disk before removing the original.

No matter what happens to the copy, the original is zapped by Finder.

We followed Karpik's instructions - albeit using a USB Flash drive rather than a folder shared on the network - and Leopard does indeed remove the original folder even though we pulled out the drive mid-way through the move.

The result: whatever data you had in the folder is gone from both the source disk and the target.

That said, this isn't the kind of problem most users will encounter. By default, Mac OS X moves files and folders when the target is the same drive as the source, but if source and destination are different, the OS copies them. To move folders, you have to hold down the Command key, and we suspect most users will copy folders and then delete the original manually.

Let's hope Apple takes note. It's already said to be readying Mac OS X 10.5.1 for release, and this should be part of the bug-fix list.

Thanks to reader Erik for the tip - and apologies for not including this line sooner

Build a business case: developing custom apps

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.