This works - from here - http://stackoverflow.com/questions/32590053/copying-file-under-root-got-failed-in-os-x-el-capitan-10-11/32590885#32590885
_____
El Capitan now protects certain system directories in "rootless" mode (a.k.a. System Integrity Protection). If you run the command
ls -lO /System/Library/LaunchDaemons
you'll see that the directories and files under there are now marked as "restricted."
You can disable rootless mode like this:
- Reboot into recovery mode (reboot and hold down Cmd-R)
- Open a terminal
- Use this command:
csrutil disable
- Reboot and run the command that worked prior to El Capitan
When you're done, it is highly recommended that you re-enable SIP by following the same steps, but using
csrutil enable
in step 3.
No comments:
Post a Comment