Feeds

Leopard data loss glitch uncovered

Moved to tears

Seven Steps to Software Security

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

Mobile application security vulnerability report

More from The Register

next story
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
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.
Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.