Recently I had an old external drive I wanted to mount use as a backup target, unfortunately when mounted it was set to read-only to resolve this i used the following packages and commands :
Write to an NTFS Drive With NTFS-3G:
Pre-Req: the following packages require installation, using brew :
#brew install ntfs-3g
#brew cask install osxfuse
NTFS-3G enables your Mac to write to NTFS drives,
First, find the address of your mounted read-only drive, using the command:
#diskutil list
Before you try to mount the new volume, you need to unmount the existing read-only NFS drive, otherwise you will get the following:
- Error opening ‘/dev/disk3s1’: Resource busy
- Failed to mount ‘/dev/disk3s1’: Resource busy
- Mount is denied because the NTFS volume is already exclusively opened.
- The volume may be already mounted, or another software may use it which could be identified for example by the help of the ‘fuser’ command
#sudo umount /Volumes/YOURDRIVE/
You need to run the following commands each time that you want to mount a drive with write permissions.
Replace /dev/disk1s1 with the drive address that you found above:
#sudo mkdir /Volumes/NTFS
#sudo /usr/local/bin/ntfs-3g /dev/disk1s1 /Volumes/NTFS -olocal -oallow_other
Error: I received the following error on first run:
- dyld: Library not loaded: /usr/local/lib/libosxfuse.2.dylib
- Referenced from: /usr/local/bin/ntfs-3g
- Reason: image not found,
The Fuse library had an issue, I had an older version of fuse installed, so I reinstalled with: #brew cask reinstall osxfuse
If you don’t want to run these commands each time, there’s a fix.
You can boot your Mac into single-user mode, and replace the built-in Mac NTFS tools with NTFS-3G.
There are some warnings about security on the project site; you can check out the steps to enable it on the developer’s GitHub page.
The devs make it clear that this opens up your Mac to potential exploitation, so this step is not for the faint of heart.
Ref :https://www.makeuseof.com/tag/self-hosted-read-later-app/