Installing / removing encfs I'm trying to install encfs, for which I need brew. I installed brew, but installing encfs is a pain. 

bash-3.2$ brew install osxfuse
Warning: osxfuse-2.6.2 already installed, it's just not linked
bash-3.2$ brew link --overwrite osxfuse
Linking /usr/local/Cellar/osxfuse/2.6.2... Warning: Could not link osxfuse. 
Unlinking...
Error: Permission denied - /usr/local/include/osxfuse/fuse/fuse_opt.h
bash-3.2$ ls -l /usr/local/include/osxfuse/fuse/fuse_opt.h
-rw-r--r--  1 root  wheel  7187 17 Dec  2011 /usr/local/include/osxfuse/fuse/fuse_opt.h


How can I get this working? Using sudo is not allowed.
You can fix the "permission denied" problem using this command: sudo chown -R $USER:admin /usr/local

The easiest way to install encfs is using "brew install encfs". This will install all the dependencies (gettext ✔, boost ✔, rlog ✔, osxfuse) automatically.

Follow the instructions on this website to correctly install encfs on Mac.