Skip to content

Instantly share code, notes, and snippets.

@Coeur
Forked from lopezjurip/README.md
Last active October 18, 2020 21:41
Show Gist options
  • Save Coeur/86a18b646a3b78930cf3 to your computer and use it in GitHub Desktop.
Save Coeur/86a18b646a3b78930cf3 to your computer and use it in GitHub Desktop.
Write to NTFS on OSX Yosemite and El Capitan

Install osxfuse (3.x.x) from https://github.com/osxfuse/osxfuse/releases.

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Update Homebrew formulae:

brew update

Install ntfs-3g

brew install homebrew/fuse/ntfs-3g

If you are on OSX 10.11 (El Capitan), temporary disable System Integrity Protection.

[reboot by holding CMD+R to get in recovery mode]
csrutil disable
[reboot normally]

Create a symlink for mount_ntfs

sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original 
sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs

If you are on OSX 10.11 (El Capitan), re-enable System Integrity Protection.

[reboot by holding CMD+R to get in recovery mode]
csrutil enable
[reboot normally]

Based on: http://apple.stackexchange.com/questions/20889/how-do-i-write-to-ntfs-drives-in-os-x/213575#213575

@merolhack
Copy link

I get the next error:

Error: The brew link step did not complete successfully

I run the doctor brew command to see what is happened:

brew doctor

It gives me the next warning:

Warning: The following directories are not writable:
/usr/local/lib/pkgconfig

I solved it whit:

sudo chown -R $(whoami) /usr/local/lib/pkgconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment