Feeds

Leopard data loss glitch uncovered

Moved to tears

High performance access to file storage

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

High performance access to file storage

More from The Register

next story
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
HP ArcSight ESM solution helps Finansbank
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.