Latest homebrew doctor said the /opt/homebrew is not writeable #3836
-
I installed homebrew on my Mac M1 in a few months back, it works without any issues. Today, I accidentally ran the homebrew install script. Then, whenever I instal whatever package, it always failed with this error
I tried to run the uninstall script, and re-install the homebrew, but the issue still there. The installation happens smoothly without issue. However, when I run `brew doctor, this is what I got
I followed the suggestion from the output above. But, nothing got changed. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
What was the output of following the suggestions from |
Beta Was this translation helpful? Give feedback.
-
@carlocab I found the root cause, there is an alias which mapping the This thread can be closed now. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem, but I can't find any brew alias :/ |
Beta Was this translation helpful? Give feedback.
@carlocab I found the root cause, there is an alias which mapping the
brew
command with another user. It explains whybrew
complains about permission.Thank you for your quick response.
This thread can be closed now.