I am trying to rename the "codesign" file name for patch problem, but I tired everything and seems like I can only have read access to the filea inside usr/bin
What I have tried:
Going into terminal using sudo -i
to get root access to usr/bin
for renaming. Typed in renaming command mv codesign codesign_10.11
still get error of Operation can't be performed
What's wrong with my permission access? How can I fix it?
Have you upgraded Mac OS X to the "El Capitan" version?
If so, you can't modify anything in /System, /bin, /sbin, or /usr (except /usr/local) anymore, even using the root user. They are calling this "feature" as "System Integrity Protection".
I had the same problem and found this explanation here.
execute command line as blow:
sudo gem update --system
sudo gem install -n /usr/local/bin cocoapods
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With