osx - brew install - permission denied (after chown -R `whoami` ) -


$ brew install fontconfig error: permission denied - /library/caches/homebrew/formula/fontconfig.brewing  $ sudo chown -r `whoami` /usr/local  $ brew install fontconfig error: permission denied - /library/caches/homebrew/formula/fontconfig.brewing 

not sure go here. ran brew doctor fix existing issues, can't seem past this.

trojanfoe's answer helped. there permission issue library/logs folder wasn't assigned to, somehow library/caches/homebrew folder didn't exist. created that, subfolder formula, , changed permission , installed fine. cleared lot of errors having.

thanks everyone.

update

@fet's 1 liner works great.

mkdir -p ~/library/caches/homebrew/formula 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -