bjjstacey

Q: Why am I getting this error message when I try to open a photo in Preview?

I am getting the following message when I try to open a photo in Preview. I have searched for possible solutions and nothing works for me. I have always used Preview to edit photos.

iMac, Mac OS X (10.7.3)

Posted on Apr 28, 2012 5:57 PM

Close

Q: Why am I getting this error message when I try to open a photo in Preview?

  • All replies
  • Helpful answers

  • by bjjstacey,

    bjjstacey bjjstacey Apr 28, 2012 6:02 PM in response to bjjstacey
    Level 1 (0 points)
    Apr 28, 2012 6:02 PM in response to bjjstacey

    Oops! Here's the error message I'm getting.  The file “DSC00620.JPG” couldn’t be opened because you don’t have permission to view it.

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Apr 28, 2012 6:09 PM in response to bjjstacey
    Level 10 (207,963 points)
    Applications
    Apr 28, 2012 6:09 PM in response to bjjstacey

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.

     

    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 page that opens.

     

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

     

    chmod -R -N ~

     

    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:

     

    sudo !!

     

    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.

     

    Next, boot from your recovery partition 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 recovery desktop appears, select Utilities ▹ Terminal from the menu bar.

     

    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the 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.

  • by bjjstacey,

    bjjstacey bjjstacey Apr 29, 2012 8:14 AM in response to Linc Davis
    Level 1 (0 points)
    Apr 29, 2012 8:14 AM in response to Linc Davis

    Hey Linc:

         Thanks for the prompt reply. It worked for me. Things are fine again.

     

     

    Barry

  • by jeremym5,

    jeremym5 jeremym5 Nov 7, 2014 10:12 AM in response to Linc Davis
    Level 1 (0 points)
    Nov 7, 2014 10:12 AM in response to Linc Davis

    Thank you for this! This worked for me--began experiencing this issue immediately following upgrade to OS X Yosemite.