Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Major Snow Leopard Bug Said To Delete User Data

Posted by kdawson on Mon Oct 12, 2009 06:59 PM
from the clean-as-the-driven-snow dept.
inglishmayjer was one of several readers to send in the news of a major bug in Apple's new OS, 10.6 Snow Leopard, that can wipe out all user data for the administrator account. It is said to be triggered — not every time — by logging in to the Guest account and then back in to the admin account. Some users are reporting that all settings have been reset and most data is gone. The article links to a number of Apple forum threads up to a month old bemoaning the problem. MacFixIt suggests disabling login on the Guest account and, if you need that functionality, creating a non-administrative account named something like Visitor. (The Guest account is special in that its settings are wiped clean after logout.) CNet reports that Apple has acknowledged the bug and is working on a fix.
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Oh. (Score:5, Funny)

    by fuzzyfuzzyfungus (1223518) on Monday October 12, @07:01PM (#29726473) Journal
    Would I be a bad person if I were to suggest that this would be a perfect time to upsell Time Capsules to worried Snow Leopard customers?
    • Re:Oh. (Score:5, Funny)

      by Anonymous Coward on Monday October 12, @07:04PM (#29726513)

      Yes, yes, you would. Because there's an issue with Time Capsule power supplies crapping out ;-)

      • Re:Oh. (Score:5, Funny)

        by moon3 (1530265) on Monday October 12, @09:11PM (#29727613)
        Great marketing, let me tell you, our Apple drones are so upset over this, they are planing to buy another Mac, just in case one got erased.
        • Re:Oh. (Score:5, Informative)

          our Apple drones are so upset over this, they are planing to buy another Mac, just in case one got erased.

          That's me!

          As an Apple fanboy, I find this bug very embarrassing. From what I read, I do fall into the "very small number of users" that this bug could catch. That is, I've had a guest account before upgrading to Snow Leopard. I guess that I've never been hit by this because I've never logged out of the guest account and then logged in to an admin account. In fact, the guest account and the admin account are both very rarely used. (My account is a "regular" account.)

          The only reason that I've enabled the Guest account is because my Macs (that's plural, so you see I really am a fanboy) have a "phone home" system in case of theft. And I figure that having a guest account will allow the thing, if stolen, to stay in use longer before getting wiped.

          As for back-ups, I don't really think the Time Capsule is something I'd recommend to most users. Instead just use Time Machine with an external drive. I do think that Apple should be given lots of credit for Time Machine. It really makes back-ups so easy there is no excuse for anyone not to make back-ups.

    • Re: (Score:3, Informative)

      That does reek of tinfoil hats, but you shouldn't have to have a serious concern to adopt a backup strategy - timecapsule or otherwise.

      That being said, we have yet to see a single person raise this complaint where I work. When one comes in it'll get my full attention and we'll find out why it's happening.

      Speculating somewhat wildly since I don't have a specimen to examine, it probably has to do with the deletion of the temp data from the guest session. Seeing users manage to disconnect their home folder f

      • Re:Oh. (Score:5, Interesting)

        by fuzzyfuzzyfungus (1223518) on Monday October 12, @07:25PM (#29726741) Journal
        For a while, at any rate, dell was bundling a year or two of some online backup service with their systems, I don't remember which one, nor could I find any reference to it on their site just now.

        What surprises me is that MS hasn't done much in the area(unless you are willing to go all the way to Windows Home Server). Architecturally, Volume Shadow Copy is abundantly powerful and has been available since before Time Machine even hit the scene; but you certainly wouldn't know about it from looking at any of the advertising, documentation, or spec sheets for non-server Microsoft OSes.
        • Re:Oh. (Score:4, Informative)

          by MojoStan (776183) on Tuesday October 13, @12:32AM (#29728817)

          What surprises me is that MS hasn't done much in the area(unless you are willing to go all the way to Windows Home Server). Architecturally, Volume Shadow Copy is abundantly powerful and has been available since before Time Machine even hit the scene; but you certainly wouldn't know about it from looking at any of the advertising, documentation, or spec sheets for non-server Microsoft OSes.

          When accessed from the shell in client versions of Windows Vista and Windows 7, Shadow Copy is often called "Previous Versions." Back when Vista was released, I remember seeing it mentioned in reviews and on Microsoft's product info pages [microsoft.com].

          Maybe it wasn't a "front page" feature because it was only available in Vista Business, Ultimate, and Enterprise (and not Home Premium). Thankfully, MS has corrected this mistake by including this feature (and all other backup features) in Windows 7 Home Premium as well.

    • Re:Oh. (Score:5, Informative)

      by Kamokazi (1080091) on Monday October 12, @07:21PM (#29726693)
      That may not be a very good idea [arstechnica.com] either...
    • Re:Oh. (Score:4, Interesting)

      by reSonans (732669) on Monday October 12, @08:07PM (#29727107) Homepage

      I know you're kidding, but Time Capsule has been upsold in the past for a similar reason.

      Remember Backup.app from the .Mac suite? It was touted as a complete remote backup solution for a couple of years, until Apple changed their tune in Knowledge Base articles and began describing it as a modest service intended for browser bookmarks and user settings. The reason? Restoring files was prone to data loss.

      Time Capsule + Time Machine appeared shortly thereafter, and Apple made a big, intentional splash about how this particular hardware and software combination will keep your data safe.

      • Re:Oh. (Score:5, Funny)

        by causality (777677) on Monday October 12, @08:18PM (#29727195)

        There's an article [gizmodo.com] claiming that users of time capsules [timecapsuledead.org] have a lifespan of 17 months and 17 days.

        So people who use that software only live less than a year and a half afterwards? Now THAT is some malware...

  • by joocemann (1273720) on Monday October 12, @07:06PM (#29726517)

    ... and I'm prone to alzheimers!

    • by langelgjm (860756) on Monday October 12, @07:10PM (#29726563) Journal
      ... and I'm prone to alzheimers!
      • by fuzzyfuzzyfungus (1223518) on Monday October 12, @07:39PM (#29726861) Journal
        I have heard strange legends, from the lands beyond civilization, were barbarous beast-men devour one another, of places where there are more people than there are computers. Apparently, they are sometimes forced to share computers....
        • by grcumb (781340) on Tuesday October 13, @12:03AM (#29728677) Homepage Journal

          I have heard strange legends, from the lands beyond civilization, were barbarous beast-men devour one another, of places where there are more people than there are computers. Apparently, they are sometimes forced to share computers....

          Hello from cannibal-land beyond civilization!

          Just wanted to let you know: Problem solved! We just ate everyone who didn't want to share.

          Course, now we have too many computers. And those things taste like shit...

      • Informative? (Score:4, Informative)

        by bussdriver (620565) on Monday October 12, @10:39PM (#29728231)

        1) USB flash drives use FAT16 or FAT32 not a Mac OS X filesystem. They are implemented as filesystem plug-ins. USB drives ARE slow; especially when on a slow USB BUS. Me, I have whole USB bus for a time machine SATA drive and it runs as fast as one can expect from that configuration- no complaints.

        2) Encrypted "volumes" are disk images; handled in userspace I believe... they are slower; but then they are software encrypted... I get good performance from not using sparse images; the sparse ones are slower (sparse images split the disk into 8MB files for easy resizing.) Sparse files have hash overhead fetching image files, open/closing overhead for those files, HFS+ auto-defragging, the 8MB segments is likely not optimally allocated (linear,) and I think it is quite likely the disk cache working twice.

        3) WebDAV generally sucks (iDisk) and I never was a fan of it. still prefer FTP. FTP and WebDAV are both filesystem plug-ins which causes more trouble than they are worth-- not to mention loads a ton of code into the kernel; risking stability and security. Userspace would make MUCH MORE SENSE; especially since the network is the bottleneck not the userspace.

        4) HFS+ is a fine filesystem. Sure it is old and based on decades old HFS. It works quite well and is stable. It is simple and highly flexible with easy hacks for adding new features. Its biggest problem is the wasted space for small files; but 10.6 fixes that with a hidden database (everything in HFS is a file, including internal structures.) It can be better; but it is not bad simply because it is old and feature laden.

        --
        Lets petition Apple to include FuseFS officially in the OS! (then they can move FTP and WebDAV out there and add HTTP, SSH...)

  • A big thank (Score:5, Funny)

    by Anonymous Coward on Monday October 12, @07:09PM (#29726559)

    to all early adopters for beta testing Snow Leopard for me.

  • ...the average user is not very likely to get hit by it, fortunately. Hopefully they'll have a fix out quickly nonetheless.

    Having said that, I'd like to ask the affected people why they weren't backing their systems up. When your system comes with a backup utility that you can literally turn on and forget about until you need it, it's pretty damned stupid to not use it.

    ~Philly

    • by Huntr (951770) on Monday October 12, @07:39PM (#29726865)

      I'm not one for the holy wars and I hate to sound like I'm defending Microsoft, but if this happened in Windows, people would be at their door with pitchforks and torches. For sure, no one would be admonishing the users.

      See ya, karma. :(

    • by rsborg (111459) on Monday October 12, @07:41PM (#29726879) Homepage

      ...the average user is not very likely to get hit by it, fortunately. Hopefully they'll have a fix out quickly nonetheless.

      I'm a Leopard user who didn't upgrade as some software that I use everyday is not ready (till December). However, I'm fairly saavy with my system but my Guest account got "activated" in a previous patch. Now, if this buzz didn't alert me, I would have upgraded and been none the wiser when my data got wiped out (luckily I use SuperDuper regularly).

      Guest accounts are setup by default, IIRC. This is bad for Apple... data loss of any magnitude should be a Priority 0 fix right away bug, not something you leave off to sub-dot-release 10.6.2.

    • by MisterSquid (231834) on Monday October 12, @09:01PM (#29727523)

      Disclaimer: I am Apple user and have been since my Apple IIe in 1984. I began using Macs in 1991 and have a lot of experience with them. In other words, I'm not your average user and I'm extra careful with my data and my setup. I create a bootable backup before upgrading, etc.

      When I upgrade to Snow Leopard I installed Rosetta because some of the software I depend upon cannot be run without it. While using this piece of amazing and somewhat buggy software [eastgate.com] my screen went blue and I was "spontaneously logged out." I encounter this problem only in the buggy software but I am not the only one experiencing such problems. Apparently there are scores if not hundreds (thousands?) of users affected by this "spontaneous log out [apple.com]." No amount of backing up is going to completely protect you if your computer goes tits up for no discernible reason at all.

      I love me some Apple products but I also recognize some of those products have serious QA issues which are not only unaddressed but Apple has not even acknowledged them. Such bugs are not the fault of "extraordinary" users even if we can understand how a very esoteric and hard-to-replicate bugs may not show up in the testing phase.

      • by 99BottlesOfBeerInMyF (813746) on Monday October 12, @10:12PM (#29728037)

        ...an average user is more likely to get hit by it as they are more likely to have the Guest account "feature" active.

        I seriously doubt that. In my experience average users don't even know such a feature exists or care at all about security. They just share a single account with their family and friends and would not see the point of having a separate account for guests.

        The guest account feature is probably used mostly by people who surf porn on the family computer and are moderately savvy about hiding it and by more advanced users who set up a machine for their whole family or who let friends use their machine to look something up. Any feature that is off by default is unlikely to be used by the average user.

        I'm more amazed that the system ignores user permissions (aka when you're not logged in as an user with admin permissions) and it proceeds to nuke files the user doesn't have "permission" to touch.

        Lots of system services have permission to do things the currently logged in user cannot. For example, people logged in as guest users can still see the correct time, despite them having no ability to access the NTP client. That's because the system takes care of business regardless of the user. The problem here is the system, which has access to delete files and change settings the guest user does not, is somehow overzealous i tis cleanup. A similar situation would be an antivirus program running that does not know how to deal with guest accounts that hoses its own permissions and stops working when a guest account logs out. It's not that the guest has permission to mess with the antivirus, just that the OS screws up when the guest account is used for anything.

  • by mario_grgic (515333) on Monday October 12, @07:35PM (#29726829)

    by default, so you have to go out of your way to enable it. I would not do it, if really wanted to allow someone limited local access to the machine, I would create a limited account for that purpose alone.

  • Well.. (Score:5, Funny)

    by Anonymous Coward on Monday October 12, @08:01PM (#29727037)

    They did say that Snow Leopard frees up an extra 7GB for you...

  • Oh man. Nightmare. (Score:5, Insightful)

    by istartedi (132515) on Monday October 12, @08:17PM (#29727175) Journal

    If one thing has been burned into my brain as a programmer, it's this:

    Crash all you want, but never, ever, ever harm, corrupt and by all that's holy, NEVER delete the user's data.

    The data is sacred. The data is life.

    • by earthbound kid (859282) on Monday October 12, @08:29PM (#29727265) Homepage

      True, but I can imagine how this happened. The guest user account is designed to erase itself after you log out. So there must have been some screw up to where the "erase user after log out" code got applied to the real user instead of to a guest user. It's a real shame that this wasn't caught in testing before it could burn an end user, but I can see how a bug like this could slip through the cracks.

      Still, the team in charge of the programming guest user account at Apple must feel like absolute crap right now for letting this major bug through.

      • by zippthorne (748122) on Monday October 12, @09:00PM (#29727507) Journal

        Yeah, they're definitely doing the guest user account wrong. They should be using tmpfs (or whatever OS X equivalent is) for the guest account. Then they don't have to delete anything, it disappears automatically.

        I used to use tmpfs for guest accounts on my ubuntu box for just that reason. That along with encrypted swap files with random keys generated on loading makes "deleting guest data" irrelevant (and lets you resize the temporary device on the fly arbitrarily high by adding more swap if you realize you're going to exceed your available physical ram or allotted space)

        You can populate the guest dir from a new-user template, or use unionfs type dealies.

        What I did was probably all wrong, but my point remains that you shouldn't have to delete stuff when you're done with the guest account. At the most, you should only have to forget a temporary encryption key, which ought to happen automagically in the event of a hard reboot.

  • by HangingChad (677530) on Monday October 12, @08:20PM (#29727211) Homepage

    We can't get a virus or trojans or....hey, where did my data go?

  • by HockeyPuck (141947) on Monday October 12, @08:44PM (#29727371)

    When will software/computer/IT companies be held to the same standards that other engineers (Civil, Electrical, Mechanical) are? If a bridge is built and it collapses due to a poor design, or a gadget catches fire or brakes are poorly designed, people head to their local courthouse and sue.

    In the computer world, people just accept that "All my photographs, resume, music, documents, tax returns, whatever" being lost forever is par for the course.

    How do you measure the value of data? You can't assign $/KB of data, as one couldn't equate a 20MB Stephen King unpublished manuscript to be equivalent to 4 hi-res pictures of my wife's flower garden. However, I'm not a fan or Stephen King, but my wife loves her flower garden.

    Should computers (or electric devices in general) with persistent storage carry a huge warning label on them that says,

    "Not guaranteed to maintain data integrity, always back up your data. Use at your own risk."

    • by raddan (519638) * on Monday October 12, @10:34PM (#29728209)
      Software is held to the same standards, but you're comparing apples and oranges. Bridges and gadgets catching fire can kill you. Your wife losing a few photos is regrettable, but... come on.

      There is software which can kill you if it malfunctions. Avionics software (which spawned all kinds of guidelines, laws, and specialized programming languages), industrial control software, power network software, and so on. I assure you that people can be sued over poor design in these areas.
    • by slamb (119285) * on Monday October 12, @11:32PM (#29728529) Homepage

      When will software/computer/IT companies be held to the same standards that other engineers (Civil, Electrical, Mechanical) are? If a bridge is built and it collapses due to a poor design, or a gadget catches fire or brakes are poorly designed, people head to their local courthouse and sue.

      When consumers are willing to wait (much) longer, pay (much) more, and/or get (much) less powerful software for the "not warranted for any particular purpose" to be removed from the license text. Don't hold your breath.

      It's entirely possible to make software that is rock-solid and that people will legally stand behind. But something has to be sacrificed to do so, and I don't imagine consumers will want that trade-off any time soon for the software on their desktop. Rather, people just complain about software developers not taking responsibility without really understanding what that would mean. It's like the old adage - good, fast, cheap, pick any two (if you're lucky). Unless the developers are just incompetent (which theoretically in non-monopolies the market will correct), it's hard to improve in one way without sacrificing something else. Software development is cumulative, so there's some hope of improvement over time - essentially you can mitigate the sacrifice of development speed through reuse - but that only takes you so far.

      Should computers (or electric devices in general) with persistent storage carry a huge warning label on them that says,

      What difference would it make? I think that it's common knowledge that you should take backups. Would putting that in warning label form make it more likely for people to actually do so?

    • by SoupIsGoodFood_42 (521389) on Monday October 12, @11:44PM (#29728579) Homepage

      When will software/computer/IT companies be held to the same standards that other engineers (Civil, Electrical, Mechanical) are?

      When you start paying $100,000 for an operating system?

  • The cloud! (Score:4, Funny)

    by Gudeldar (705128) on Monday October 12, @08:52PM (#29727429)
    If their data had been in the cloud this wouldn't have ... oh damn never mind.
  • Steve Jobs clearly intended for this to happen, as it's called iClean and is a service whereby the clutter of the Administrative account is eliminated. You do not need any functionality or data beyond which Apple already supplies, so in an effort to keep your computer healthy iClean will auto-scrub your account.
    • by gilgoomesh (966411) on Monday October 12, @07:23PM (#29726723)

      As far as I can tell, from reading this on other sites, the reproduction involves:

      * Machine that was upgraded from Leopard to Snow Leopard
      * Already had the Guest account enabled on Leopard.
      * Logs into Guest account (not a remote login but a local, physical login)
      * Is hard-booted (after crash, power failure, or power button) from Guest account back into Admin account.

      Despite a combination of these steps, people are finding it hard to reproduce. So it's the sort of issue that could fall through the QA cracks.

      • by CAIMLAS (41445) on Monday October 12, @08:24PM (#29727233) Homepage

        I'm sorry, but there's no way this should've fallen through QA cracks, because it should not have made it to QA in the first place. This kind of thing should never have been possible in the first place due to a clear segregation of permissions between "Admin" and everything else - particularly "guest".

        The fact that this is even possible suggests a much deeper flaw in the security mechanisms of OS X.

    • Re:Apple.... (Score:5, Insightful)

      by cjfs (1253208) on Monday October 12, @07:33PM (#29726817) Homepage Journal

      Well since the only apparent critics are anon cowards I'll just assume that they are all MS fan boys out to get their cockroach bites while the getting is good.

      I don't think it takes a Microsoft fan boy to be critical of a production OS bug that results in complete data loss.

    • Re:Apple.... (Score:5, Insightful)

      by Anonymous Psychopath (18031) on Monday October 12, @07:36PM (#29726837) Homepage

      I'm not a fanboi of any particular OS and use all the major ones at home (Win7, Macbook Pro, Ubuntu, Debian, BSD, etc.). They're just tools and they all have their strengths and weaknesses.

      But this is a serious bug, and based on the past I'm certain there would be many posts from smug Apple fanbois if it had been a Windows bug. I don't use my Guest account either, but that doesn't mean it would have sucked major ass if I had lost all my data because I did. The user could not possibly predict that just using the Guest account would incur this kind of risk.

      It doesn't make sense to be an apologist. I cannot understand why Apple seems to get a free pass from their user community when this sort of thing happens to them. It's not enough to point out that the other developers have problems, too. Get pissed off and help them be better next time.

      • Re:Apple.... (Score:5, Insightful)

        by cjfs (1253208) on Monday October 12, @07:45PM (#29726919) Homepage Journal

        I cannot understand why Apple seems to get a free pass from their user community when this sort of thing happens to them..

        Never underestimate the power of shiny.

      • Re:Apple.... (Score:4, Interesting)

        by onefriedrice (1171917) on Monday October 12, @10:01PM (#29727973)
        Fanboys aside, Apple certainly isn't getting a pass from users that are being affected or the general "community" at large. Lots of them are pissed. There just aren't very many of them that got affected as far as I can tell. Fanboys, on the other hand, are fanboys, and I'm not sure if you can say one group of fanboys is more annoying than another. As one using Linux predominately, Linux fanboys annoy me more than any other, but obviously it's a highly subjective matter.
      • Re:Apple.... (Score:4, Insightful)

        by indiechild (541156) on Monday October 12, @10:28PM (#29728159)

        I don't see any evidence of apologism or Apple getting a free pass. Whenever Apple screws up, they're instantly on the front page of Slashdot, Digg, etc.

    • It's explicitly noted that it doesn't happen every time. It's very likely they did test it, and just missed it. It's not necessarily an excuse, but bugs do happen, and this has not been reported during the beta – meaning it's either exceptionally rare or a very recent bug. I'd bet on the former.

      On a different note, the CNET article takes a very sensationalist approach with using the phrase "plagued with bugs". There's a few bugs, reported by a vocal minority of users (one of which they list – incompatibilities – isn't really a bug, just a consequence of being a new OS version with new features, changed features, and a few removed features*). I've been using Snow Leopard for the past month-and-a-half, and have experienced only a tiny handful of non-damaging crashes. One kernel panic, about three or four Safari crashes. It's around the average number of problems I've experienced on most OS/version combinations.

      * One such removal is a relatively undocumented 'hack' called "InputManagers" which loads code into every Cocoa application that starts up. These no longer work in 64-bit applications, and such plugin functionality has to be re-implemented using either an application-specific plugin format (where available) or as a mach_inject background process.

      • Re:Opportunity (Score:4, Informative)

        by broken_chaos (1188549) on Monday October 12, @09:46PM (#29727867) Homepage

        As I linked to another person in this thread, PhotoRec [cgsecurity.org] works fine on OS X as long as you aren't deathly afraid of the command line (and have a spare drive for writing out all the files it finds to).

        Sure, it's a bit messy with the files (as are most undelete programs – though PhotoRec doesn't even make a cursory attempt, beyond file names), but it's pretty good at getting everything not-written-over in my experience.