Home › Knowledgebase › KB-394

How to fix macOS 'Permission Denied' errors when accessing folders or files

Summary

This guide helps you troubleshoot and resolve: How to fix macOS 'Permission Denied' errors when accessing folders or files. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Encountering a 'Permission Denied' error on macOS typically occurs when the current user account does not have the necessary read or write privileges for a specific file or folder. This often happens after migrating data from an old Mac, restoring from a backup, or when accessing shared network drives. This guide will help you analyse and resolve these permission conflicts to regain access to your data.

Quick Fix Steps

Before diving into deep system settings, try these rapid solutions to rule out temporary glitches:

Detailed Instructions

Method 1: Using the Get Info Panel

The most common way to fix permissions for a specific folder or file is through the Finder's information window.

  1. Right-click (or Control + click) the folder or file that is causing the error.
  2. Select Get Info from the contextual menu.
  3. Click the padlock icon at the bottom right of the window and enter your administrator password to unlock the settings.
  4. Look at the Sharing & Permissions section.
  5. Find your username in the list. If you are not listed, click the plus (+) button and add your account.
  6. Change the Privilege column next to your name to Read & Write.
Pro Tip: If you are trying to fix a folder and all the files inside it, click the cogwheel icon (or the three-dot menu) at the bottom of the Get Info window and select Apply to enclosed items.

Method 2: Granting Full Disk Access

Modern macOS versions (Ventura, Sonoma, and Sequoia) use a security feature called Transparency, Consent, and Control (TCC) which may block specific applications from accessing certain folders, even if you are the administrator.

  1. Click the Apple Menu and select System Settings.
  2. Navigate to Privacy & Security in the left-hand sidebar.
  3. Scroll down and click on Full Disk Access.
  4. Locate the application you are using to access the files (e.g., a third-party file manager or backup tool).
  5. Toggle the switch to On. You may be prompted to enter your system password.
  6. Restart the application for the changes to take effect.

Method 3: Resetting Home Folder Permissions

If you are experiencing permission errors across multiple folders in your user directory, you may need to reset the permissions for your home folder.

  1. Restart your Mac and immediately hold Command (⌘) + R to enter Recovery Mode.
  2. From the top menu bar, select Utilities and then Terminal.
  3. Type resetpassword and press Enter.
  4. In the Reset Password window, instead of changing the password, look for the Reset Home Directory Permissions option (this may be under a 'Recovery' or 'Advanced' menu depending on the macOS version).
  5. Follow the on-screen prompts to select your user account and reset permissions.
  6. Once the process completes, restart your Mac normally.
Caution: Be extremely careful when using the Terminal in Recovery Mode. Entering incorrect commands can lead to system instability or data loss.

Troubleshooting Common Scenarios

External Hard Drives and USBs

If the 'Permission Denied' error occurs on an external drive, it may be due to the drive's formatting (e.g., NTFS drives are read-only on macOS by default).

  1. Right-click the external drive icon on your desktop and select Get Info.
  2. At the very bottom of the window, check the box that says Ignore ownership on this volume.
  3. This tells macOS to treat every file on that drive as if it belongs to the current user.

Network Share Permissions

If you are accessing a folder on a server or another Mac, the permission issue is likely residing on the host machine rather than your local Mac.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket