更新系統後,在執行例行公事 Homebrew 檢查,出現沒有權限
Warning: /usr/local is not writable.
You should change the ownership and permissions of /usr/local
back to your user account.
sudo chown -R $(whoami) /usr/local
跟著訊息走,給予適當權限就成功囉!
sudo chown -R $(whoami) /usr/local
結束更新後,Homebrew 又通知再把權限復原 (這次自己歸位分離管理~好事!)
sudo chown root:wheel /usr/local
DONE! 來去跟 Siri 聊聊天好了~
沒有留言:
張貼留言