In OS X 10.11 EL Caption, there is no permission solution for folders such as /usr/bin and /usr/local (Operation not permitted)

In 10.11, OS X changed Rootless to enable, so we need to turn it off. I found a lot of related modification methods

on the Internet, but they didn't work. Finally, I used this

sudo nvram boot-args="rootless=0"
sudo reboot to

restart the computer Press and

hold Command + R to enter the recovery interface
. Open the Terminal terminal, and then enter
csrutil disable
reboot

. If you want to change it back, change disable to enable and restart after

modification .




I encountered this problem when installing sass, the above The method is not solved
by the following command
$ sudo gem install -n /usr/local/bin sass

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327005248&siteId=291194637