Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when trying to "brew link autoconf"

Tags:

homebrew

rvm

When I try to "brew link autoconf" in the terminal I keep getting this error.

Error: Could not symlink file: /usr/local/Cellar/autoconf/2.69/share/emacs/site-lisp /usr/local/share/emacs is not writable. You should change its permissions.

Anyone have any ideas on how to fix this? Thanks!

like image 703
Jisoo Han Avatar asked May 30 '13 19:05

Jisoo Han


2 Answers

You need to make sure that all the files and folders in /usr/local are writable by you. You can do this by typing the following command

chown -R yourusername /usr/local
chmod -R u+w /usr/local

You may have to use sudo for those commands to work.

After you do this, try linking again.

like image 113
SethMMorton Avatar answered Oct 20 '22 10:10

SethMMorton


(sudo) chown -R yourusername /usr/local

like image 11
Kyle J. Dye Avatar answered Oct 20 '22 11:10

Kyle J. Dye