MacOS 10.12 /usr/local 不可写

change the ownership and permissions of /usr/local back to your user account: 

$ sudo chown -R $(whoami) /usr/local

原文地址:https://www.cnblogs.com/yizhixuepython/p/9251438.html