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

Not able to change my homepage.

I have tried to change the homepage in Safari Preferences but have not been successful. Safari always goes back to the original homepage. Any help/advice would be appreciated. Thank you.

Posted on Oct 5, 2012 5:49 AM

Reply
21 replies

Oct 5, 2012 8:26 AM in response to Jim M.

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.


Triple-click the line below to select it, then drag or copy the text — do not type it — into the Terminal window and press return:


ls -Oel Library/Preferences/com.apple.Safari.plist


Post any lines of output that appear below what you entered — the text, please, not a screenshot.

Oct 5, 2012 12:52 PM in response to Jim M.

Back up all data.


Make a note of your Safari settings, then quit Safari.


In the Finder, select Go Go to Folder from the menu bar, copy the text on the line below into the box that opens, and press return:

~/Library/Preferences/com.apple.Safari.plist

A Finder window will open with a file selected. Move the selected file to the Desktop, leaving the window open. Relaunch Safari. Your settings will be reset to their defaults, including the home page, but your history and bookmarks will be preserved. Recreate the settings and test. If Safari now works, delete the file you moved to the Desktop.

Otherwise, quit Safari again and put the file back where it was, overwriting the newer one that was created in its place. Post your results.

Oct 5, 2012 1:22 PM in response to Jim M.

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

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 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.

Nov 15, 2012 7:02 AM in response to Linc Davis

I am trying again to folllow your directions. I am at step 1. I have pasted the line of copy into the terminal window and pressed Return and was prompted for my password. Put the password in and am waiting for the command to run. It has been 20 minutes so far. You said it would be a noticeable amount of time but I don't know long this normally takes. Please advise.


Thank you.

Nov 15, 2012 12:24 PM in response to Linc Davis

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

This is a MacBook with OSX 10.6.8 nothing special about it. I am stuck at the point of putting in the password and waiting. Have waited over an hour several times and once 1 hour and 55 minutes and then when I went to quit terminal it asked a question about ending the running process, login, bash, sudo

.

Nov 16, 2012 12:21 AM in response to Linc Davis

Yesterday I went over your instructions and what I have been doing as per the instructions and found that all is not well. I am running OSX 10.6.8. and have never got past Step 1 where I put in the password and wait. I didn't give you enough information and I never in reality got to Step 2. I realize that from trying yesterday and getting nowhere.


I never thought changing the homepage would be this difficult. Sorry for the misinformation. Is there a solution possible?


Thank you

Not able to change my homepage.

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