Laxatives, OS X El Capitan, introduced the rootless mechanism under the kernel, the following path:
/system
/bin
/sbin
/usr (except/usr/local)
are in the rootless range, even if the root user cannot have write and execute permissions on this directory, only Apple and Apple's authorized signed software, including command-line tools, can modify this directory.
After thinking about the meaning of your operation, use other means to complete your operation.
For example, if you want to change the configuration of vim, put it in ~/.vim/instead of/usr/share the global path
Either close the rootless (not recommended by the developer, or open again after the recommended execution)
Closed method:
Reboot, power on and hold command + R, start with the recovery partition, and select the following method:
graphical operation
off enforce System Integrity Protection
command-line operation
in Security Configuration
Csrutil Disable
Mac os X 10.11 sudo instruction problem?