Cannot install Homebrew


(Rtogna) #1

Hi to everybody,

new to Homebrew, it seems I have permissions problems in my /usr/local directory.

I tried to solve them; I reached the downloading phase but now I got this message I am not able to overcome:

Error: Failed to link all completions, docs and manpages:
Permission denied @ rb_file_s_symlink - (…/…/…/Homebrew/completions/zsh/_brew, /usr/local/share/zsh/site-functions/_brew)

This is the listing of my /usr/local directory:

2290170 drwxr-xr-x 15 root wheel 510 14 Apr 19:57 ./
2288107 drwxr-xr-x@ 13 root wheel 442 14 Apr 19:48 …/
15143245 drwxr-xr-x 2 renato wheel 68 14 Apr 19:21 Cellar/
15143247 drwxrwxr-x 2 renato admin 68 14 Apr 19:21 Frameworks/
15202114 drwxrwxr-x 17 renato admin 578 14 Apr 19:57 Homebrew/
2290171 drwxrwxr-x 66 renato admin 2244 14 Apr 20:15 bin/
15143248 drwxrwxr-x 3 renato admin 102 14 Apr 19:59 etc/
15143249 drwxrwxr-x 2 renato admin 68 14 Apr 19:21 include/
15144783 drwxrwxr-x 2 renato admin 68 14 Apr 19:46 lib/
2290207 -rwxrwxr-- 1 renato admin 64976 21 Dic 2015 lib.executable.file.found.here*
15143250 drwxr-xr-x 2 root wheel 68 14 Apr 19:21 opt/
15143251 drwxrwxr-x 2 renato admin 68 14 Apr 19:21 sbin/
2290208 drwxrwxr-x 5 renato admin 170 14 Apr 19:21 share/
2293661 drwxr-xr-x 4 root wheel 136 4 Gen 2016 texlive/
15143254 drwxrwxr-x 3 renato admin 102 14 Apr 19:58 var/
IMac:local renato$

Can you help me?

Thank you

renato