« FlyFi.com upgrade | Main | Non-blocking raw_input for Python »

October 12, 2009

Snow Leopard Guest User data loss bug

I've seen a number of mentions today of a bug that can cause a Snow Leopard user to lose all their data:

The problem appears to manifest itself on machines which had the Guest account option enabled under Leopard and were subsequently upgraded to Snow Leopard. Users booting their machines have reported that upon start-up, they have been logged into the Guest account. Upon switching to their regular account, the affected users have been finding all of their user data missing and unrecoverable except from a backup. [MacRumors.]

One user reports a way to recover the lost data. Since it's buried in a discussion thread, I'm reproducing it here (also fixing a typo pointed out by a reader of this blog):
The files were still in /Users,
recovery was not too difficult.
1) su in terminal
2) mv username username.old
3) create account username
4) mv username username.new
5) mv username.old username
6) chown -R username username

I don't know whether it's a general fix. If you run into the bug and decide to try this solution, feel free to post your experience in the comments section!

October 12, 2009 in Web/Tech | Permalink

Comments

Am I right in assuming you meant

mv username.old username
instead of
mv usermane.old username

under step 5?

Posted by: David Smith at Oct 13, 2009 11:32:57 AM

I just copied and pasted from the discussion board. I certainly assume the poster meant "username"! I will update my original post accordingly.

Thanks!

Posted by: Gary Robinson at Oct 13, 2009 3:56:49 PM