Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

problems with identity

I have lost all the photos and Microsoft will not run smoothly any longer. this i believe has started with my attempts at correcting my name in the 'home' directory. i have to say i was utterly disappointed to see how easy problems on regular computers become impossible to fix on apple. i now cannot open outlook with my identity (you do not have write access to the outlook application folder) and have lost all my precious photos. if anyone can help i would be thankful.

MacBook Air, Mac OS X (10.7.2)

Posted on Dec 10, 2012 11:40 AM

Reply
16 replies

Dec 10, 2012 11:55 AM in response to pierfconsa

Back up all data now.

This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. If none of this is meaningful to you, you don't need to worry about it.


Step 1

If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. You can demote it back to standard status when this step has been completed.

Launch the Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

Drag or copy — do not type — the following line into the Terminal window, then press return:

sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:20 ~ $_ ; chmod -R -N ~ $_ 2> /dev/null

Be sure to select the whole line by triple-clicking anywhere in it. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command.

The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.

Step 2


Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.

When the OS X Utilities screen appears, select Utilities Terminal from the menu bar. A text window opens.

In the Terminal window, type this:

resetpassword

That's one word with no spaces. Then press return. A Reset Password window opens. You’re not going to reset a password.

Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select  Restart from the menu bar.

Dec 11, 2012 1:34 PM in response to Linc Davis

Hi Davis, no i didn't. is there a way for me to retrieve all my photos? and how do i continue on your procedure if i get stuck at rebooting i get this thing where it wants my username and password to connect me to something on the internet. Also, if you give me the way forward, do i have to re-start everything from the beginning again? thank you very much i really appreciate.

Dec 11, 2012 1:41 PM in response to pierfconsa

If you didn't back up, then you didn't follow my instructions and I take no responsibility for the consequences, which may be total data loss.

If you want to preserve the data on the boot drive, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data, you can skip this step.

There are several ways to back up a Mac that is unable to fully boot. You need an external hard drive to hold the backup data.

1. Boot into Recovery (command-R at startup) or from a local Time Machine backup volume (option key at startup.) Launch Disk Utility and follow the instructions in the support article linked below, under “Instructions for backing up to an external hard disk via Disk Utility.”

How to back up and restore your files

2. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode by holding down the key combination command-T at the startup chime. Connect the two Macs with a FireWire or Thunderbolt cable. The internal drive of the machine running in target mode will mount as an external drive on the other machine. Copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.

How to use and troubleshoot FireWire target disk mode

3. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.

Dec 11, 2012 1:49 PM in response to Linc Davis

Hi Davis, no responsibilities are given! thank you. I do wish i could at least get back all my photos! and to do so i need to be connected to good internet, but now i am at home connected with a USB, too expensive to send many mega of data on the net.


I will try to follow how to back up your data and restore.


But meanwhile, i feel that the procedure you gave me in the earlier message is not completed: i was not able to reboot because i restart pressing cmd button (left of space bar) and R and it takes me to this screen where i need to enter username and password of some internet domain.


How do i finalize the procedure you gave me?

problems with identity

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.