Solved: Fix “JPG file couldn’t be opened because you don’t have permission to view it” Error

Fix “JPG file couldn’t be opened because you don’t have permission to view it”

Wondershare Recoverit Authors

Sep 28, 2020 • Filed to: Photo/Video/Audio Solutions • Proven solutions


Are you trying to access some photos on your system, but have got an error stating that you don't have the needed permissions? Don't worry, the issue is quite common and is faced by a lot of Mac users in particular. Since there could be different reasons behind it, you should follow a stepwise drill to repair the JPEG file and retrieve your data. For your convenience, we have come up with a detailed guide to fix the "JPG file couldn't be opened because you don't have permission to view it" error. Read on and fix this issue right away.

Common Reasons for Getting this Error

To repair the JPEG file or resolve the permission error, it is important to know its cause. The following are some of the common reasons for getting the restricted permission prompt.

  • The file was locked by any other user (administrator)
  • Your account does not have the root access (admin access) to view the file.
  • The photo could be linked to a third-party installer that is controlled by another account.
  • An unexpected shutdown can cause this issue at times
  • The file would have been corrupted by a malware attack
  • The storage disk or driver could have been corrupted as well. (You can repair corrupted hard drive)
  • There is a problem with your system's firewall

corrupted jpg file

How to Fix the Permission Error?

As you can see, there could be different reasons for getting a restricted permission error on your system. To fix the "JPG file couldn't be opened because you don't have permission to view it" error, the following methods can be implemented.

Solution 1: Delete some files in the library

If you have a Mac and you are getting the restricted permission error, then this should be the first thing that you should do. Sometimes, the presence of a few temporary or unwanted files can cause this problem. The easiest way to fix this is by simply getting rid of these files from the library. Don't worry – deleting these files won't cause any harm to your system. It will only resolve conflict and help you access the protected content.

Firstly, go to the Finder menu on your Mac. Press the Option key and select Go > Library to access all the saved library files.

access saved library files

This will launch the Library folder and you can just browse the files that you wish to delete. Following are some files that you can delete:

  • Caches >
  • Saved Application State >
  • Preferences >
  • Preferences >
  • Containers >

launch the library folder

Simply select a file, go to its option, and click on the "Move to Trash" button. You can also select the file and press the delete key to get rid of it.

select the file

By following the same drill, you can delete all the above-mentioned files. Once it is done, try to access the restricted photos again.

Solution 2: Run Disk Utility on Mac

If there is a problem with your Mac's disk, then this would be an ideal approach to repair the JPEG file. To do this, you can take the assistance of Disk Utility. It is the native solution provided by Mac to repair various issues related to the connected disk. Once you scan the disk for any unwanted problem, you can fix the "JPG file couldn't be opened because you don't have permission to view it" error as well. Here's how you can do it.

    1. If your Mac is already turned on, then you need to restart it first.
    2. While Mac is getting started, press and hold the Command and "R" keys. Let go of them once you see the Apple logo on the screen.
    3. This will automatically display the macOS Utilities on the screen. From all the provided options, go to "Disk Utility" and continue.

disk utility

    1. From here, you can select the drive that you wish to repair. Click on the First Aid or Repair icon after selecting a disk.
    2. Confirm your choice and click on the "Run" button to start disk utility.
    3. Wait for a while as the Disk Utility would repair your files.

repair your files

  1. In the end, your Mac will be restarted and the respective disk would be repaired. You can try to access the restricted files now.

Solution 3: Repair JPG files with a reliable repairing tool – Stellar Phoenix Photo Repair

If none of the above solutions would seem to work, then you can try Stellar Phoenix Photo Repair. Available for both Windows and Mac, it provides highly advanced options to repair the JPEG file. It features a user-friendly interface and can repair unlimited photos in one go. Users can also preview the repaired photos and save them to any location of their choice. To fix "JPG file couldn't be opened because you don't have permission to view it" error, follow these steps:

    1. Launch Stellar Phoenix Photo Repair on your system and load the photos of your choice.
    2. Click on the "Add File" button to load your photos. A browser window will be opened so that you can locate the inaccessible pictures. You can load as many photos as you want.

add file for jpeg photo repair

    1. The interface will display the loaded photos. You can add or remove photos from here and click on the "Repair" button to start the process.

repair the corrupted jpeg files

    1. Wait for a few minutes as the tool would repair your photos automatically. You can view the progress from an on-screen indicator.

repairing the corrupted jpeg files

    1. Once the repairing of the JPG files is done, you will be notified. You can now preview the repaired photos, make the relevant selections, and save them to a safe location.

save the repaired files

As you can see, Stellar Phoenix provides a user-friendly and reliable way to repair JPEG files. It can fix photos in all the other common formats as well and will help you retrieve your damaged or distorted pictures. By following this drill, you can easily fix the permission conflict error on your Mac. If you are still facing this issue, then let us know about it in the comments below. Also, you can find the solutions here to fix the "HTML5 Video File Not Found" error.

Recoverit author

Eleanor Reed

staff Editor

(Click to rate this post)

Generally rated4.5(105participated)

Home > Resources > Photo/Video/Audio Solutions > Fix “JPG file couldn’t be opened because you don’t have permission to view it”