1 2 Previous Next 21 Replies Latest reply: Dec 7, 2012 10:08 AM by ~Bee
Jim M. Level 1 Level 1 (0 points)

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.

  • 1. Re: Not able to change my homepage.
    Linc Davis Level 10 Level 10 (117,740 points)

    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.

  • 2. Re: Not able to change my homepage.
    Jim M. Level 1 Level 1 (0 points)

    -rw-------@ 1 mccollum3  staff  - 5276 Oct  5 21:26 Library/Preferences/com.apple.Safari.plist

    host-001:~ mccollum3$

     

     

    This is the output that I got after I pasted in the line of type that you sent me.  Then I tried again to change the homepage and it would not change.  What else needs to be done?

     

    Thank you,

     

    Jim

  • 3. Re: Not able to change my homepage.
    Linc Davis Level 10 Level 10 (117,740 points)

    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.

  • 4. Re: Not able to change my homepage.
    Jim M. Level 1 Level 1 (0 points)

    Got to the Go To Folder and copied the line of type you gave me into the box and hit return and then got the message, The folder "com.apple.Safari.plist" cannot be opened because you don't have permission to see its contents.

     

    Jim

  • 5. Re: Not able to change my homepage.
    Linc Davis Level 10 Level 10 (117,740 points)

    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.

  • 6. Re: Not able to change my homepage.
    Jim M. Level 1 Level 1 (0 points)

    To Linc Davis,

     

    Got to step 2 and put in resetpassword then pressed return and got the response "command not found".  That was all, didn't get to the boot volume or select the user account.

     

    Jim

  • 7. Re: Not able to change my homepage.
    Linc Davis Level 10 Level 10 (117,740 points)

    You almost certainly mistyped the command. People tend to type "reset password" or "restpassword" instead of "resetpassword".

  • 8. Re: Not able to change my homepage.
    Jim M. Level 1 Level 1 (0 points)

    Did as you said and still geting command not found.  Tried several combinations of resetpassword and got nothing.  With reset password I got, can't intialize terminal type password (error-1).  Then it asked the question, terminal type?

     

    Jim

  • 9. Re: Not able to change my homepage.
    Linc Davis Level 10 Level 10 (117,740 points)

    Are you sure you were booted in Recovery mode? If you weren't, the command wouldn't be expected to work. If you were, you have a corrupt recovery partition, but that seems very unlikely to me.

  • 10. Re: Not able to change my homepage.
    Jim M. Level 1 Level 1 (0 points)

    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. 

  • 11. Re: Not able to change my homepage.
    Linc Davis Level 10 Level 10 (117,740 points)

    There is no normal amount of time. It depends on how many files you have and how fast your system is. If it takes more than an hour, something is almost certainly wrong. In that case, just close the Terminal window. You'll be prompted to confirm.

  • 12. Re: Not able to change my homepage.
    Jim M. Level 1 Level 1 (0 points)

    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



  • 13. Re: Not able to change my homepage.
    Linc Davis Level 10 Level 10 (117,740 points)

    If you're running 10.6.8, which I didn't know until now, then you couldn't possibly have gotten to step 2 as you wrote earlier, because there's no recovery partition in 10.6. Please clarify.

  • 14. Re: Not able to change my homepage.
    Jim M. Level 1 Level 1 (0 points)

    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

1 2 Previous Next