Permissions are a Unix-level property attached to files (including apps) and folder that control the rights a given user or system agent has to read, write, execute, or act in other ways upon a. Restart normally, open Terminal, and remount the root volume for read access: sudo mount -uw / At this point, you should be able to make changes everywhere (subject to normal filesystem protections) up until the next restart. Disabling SIP's filesystem protection survives restarts, but remounting with write access does not.

Don't worry when your external hard drive displays as read-only on Mac. This page includes 3 reliable solutions that can assist you in removing the 'read-only' error from your Mac external hard drive, making it readable again. Pick up any method below to make your device accessible without losing any data now:

Workable SolutionsStep-by-step Troubleshooting
Fix 1. Reformat External Hard DriveOpen 'Applications' > 'Utilities' > Launch 'Disk Utility' to 'Erase' external drive > Restore formatted data...Full steps
Fix 2. Ignore PermissionsRight-click external drive > 'Get Info' > 'Sharing & Permissions' > Check 'Ignore ownership on...'...Full steps
Fix 3. Repair Drive ErrorsOpen Disk Utility > Select the external hard drive and click 'First Aid' > Click 'Run'...Full steps

The External Hard Drive Shows Up as 'Read Only' on Mac, Help!

'Hi there, do you know how to make the external hard drive accessible again when it shows as 'Read Only' on Mac? I'm having this problem that my Seagate hard drive suddenly turned to read-only this morning when I connected it to Mac. I could only read and view saved data on the drive, but can't use the data on it. If you have any clue to fix this problem, please tell me. Thanks very much.'

Directory

You Have No Write Permissions For This Directory Mac Os

Right-click your external storage device, select 'Get Info', and if you see 'You can only read' at the bottom, you are encountering one of the commonest problems with an external hard drive. When your external hard drive or other external storage devices show up as 'Read Only' on your Mac, you can:

  • Open the drive and view the files
  • copy files from the external storage drive

You can't:

  • Copy files to the device
  • Delete files from the external drive

Why Is Your External Hard Drive Read-Only on Mac

Why can you only read the external hard drive that is connected to your Mac? There are three possible reasons.

The File System Is NTFS

Right-click your hard disk and select 'Get Info', if you find the external hard drive in NTFS format, that's what the cause is. The incompatibility of the file system is the main cause. NTFS is a file system that is optimal for Windows-based computers. Although the Mac operating system allows you to read the files on the external hard drive, you can't write files to it because the way that NTFS writes data to the device is incompatible with the way macOS doing it. (Go to the Fix.)

The Permission Settings Is Not Ignored

An external hard drive is subject to the access permission set up by OS X for all files and folders on the system. When you use the device on another computer with a different OS, the permission settings with it may not be recognized or prevent access to the files on the hard disk. (Go to the Fix.)

The Hard Drive has Formatting Errors

You Have No Write Permissions For The Directory Mac

Another common cause for the external hard drive 'Read Only' problem on Mac is the formatting errors of the storage device itself. If you see a warning that says the device is only being mounted in read-only mode while connecting, your hard disk is diagnosed to have formatting errors that prevent you from writing files to it. (Go to the Fix.)

Identify the cause that leads to the 'Read Only' error on your Mac from the information above, then follow the corresponding solution to solve the problem with ease.

How Can You Solve the External Hard Drive 'Read-only' Problem on Your Mac

Based on different reasons, there are three solutions to the problem.

Fix 1: Reformat the External Hard Drive

You Have No Write Permissions For This Directory Mac

If your external hard drive is read-only on your Mac due to its NTFS file system, you can fix it by reformatting the device to a Mac-compatible format with Mac Disk Utility. Before that, remember to back up your external hard drive quickly with data backup software since the formatting will erase all the files on the device.

Step 1: Launch 'Disk Utility'.

  • Head to 'Applications' > 'Utilities'.
  • Or tap 'Command + Space' and type Disk Utility.

Step 2: In the list of available drives on the left, choose the problematic external hard drive. Then click the 'Erase' option in the main window.

Step 3: Choose a proper file system and rename your hard disk. (Both APFS and Mac OS Extended file system are Mac-exclusive. Thus, if you want your external hard drive to be both Mac and PC compatible, choose MS-DOS, also known as FAT, or ExFAT instead.)

You Have No Write Permissions For This Directory Machine

Step 4: Click Erase to reformatting your external hard drive.

Wait for the reformatting process to complete and then go to the information window, this time you will see the 'You can only read' has changed to 'You can read and write', which means you can read and write the drive on your Mac normally.

Generally speaking, when a storage device shows up as read-only, you can still copy files off of it. If you cannot view or see all saved data on the drive, don't worry. After you format it, you can use the professional Mac hard drive recovery software - EaseUS Data Recovery Wizard for Mac to get back your lost data on the drive with simple clicks:

Step 1. Select the disk location (it can be an internal HDD/SSD or a removable storage device) where you lost data and files. Click the 'Scan' button.

Step 2. EaseUS Data Recovery Wizard for Mac will immediately scan your selected disk volume and display the scanning results on the left pane.

You Have No Write Permissions For This Directory Macbook

Step 3. In the scan results, select the file(s) and click the 'Recover Now' button to have them back.

Fix 2: Ignore Permissions

If you are sure the problem is caused by the permission settings, you just need to ignore the permissions to solve the 'Read Only' external hard drive problem on your Mac.

Step 1: Right-click your external hard drive shown on your Mac and select 'Get Info'.

Step 2: Expand the 'Sharing & Permissions' section, then click the lock to authenticate.

Step 3: Check 'Ignore ownership on this volume'.

Fix 3: Check and Repair Hard Drive errors

If there is a formatting error on your external hard drive that makes the device read-only, you can use Disk Utility to check the errors and repair the external storage device.

Step 1: Go to 'Disk Utility'.

  • Head to 'Applications' > 'Utilities'.
  • Or tap 'Command + Space' and type Disk Utility.

Step 2: Highlight the read-only external hard drive, click 'First Aid' in the top center, then click 'Run'.

The first time you try to install a package globally using npm, using the syntax npm install -g <package> on a Mac, or Linux, you might get a weird error, saying something like

or something along those lines, followed by a long list of other errors of warnings, a consequence of the first error that’s printed to you.

This error is preventing us to install the package.

How do you fix this? It’s a permission error, which means you don’t have write access to that folder.

This is how to solve it. Run this command:

Let’s break it down:

sudo means we are running this command as root, the system super user. This is because we don’t have permission to write to that folder, but root will be able to fix any permission. This command also means the system will ask for your password to confirm.

chown is the command we use to change the owner of a file or folder. We set the -R option to change the owner recursively, so we also get owner access to all the files already contained in there.

$USER is an environment variable automatically set to your username.

And the final piece is the folder path.

You Have No Write Permissions For This Directory Macbook Pro

Running this path will make the folder yours, so you can safely run your npm install -g <package> commands!

Pay attention to the folder listed by the error message. If it’s different, update the chown command accordingly.

This tip applies to single user systems. On a multi-user system, you might want to create a dedicated directory for npm modules, see https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally.

Download my free Node.js Handbook and check out my Node.js Masterclass!