admin rights issue in System/Library folder

We have a Mac system with 10.12.6 (macOS Sierra). We installed Perl 5.26 and we checked the same using the Terminal and found the same version is appeared. We had a perl tool, which is not working in this version only whereas the same tool is working fine in Mac 10.11 and Mac 10.13.


We tried to assign rights(read/write) to the folder "Perl" located under the /System/Library/Perl. But we found that the following error message has appeared even we applied "admin" rights.

"the operation can’t be completed because you don’t have the necessary permission"


Also we tried "sudo" method to apply read/write rights using terminal but the results remains same i.e. unable to apply permission properly.


PS: We were unable to apply rights (read/write) to any of the folder located under "/System/Library/Fonts".


Kindly guide us to solve this issue.


Regards,

John

Posted on Feb 16, 2018 10:13 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 16, 2018 7:50 PM

Your Mac is automatically set to protect critical system files and directories using a mechanism called System Integrity Protection. SIP prevents any user (including the root user) from modifying these directories:


  • /System
  • /usr (but not /usr/local)
  • /bin
  • /sbin
  • Apps that are pre-installed with OS X


More information about System Integrity Protection can be found here: About System Integrity Protection on your Mac - Apple Support


If you would like to disable System Integrity Protection (NOT RECOMMENDED), you'll need to boot Recovery Mode, open Terminal and run csrutil disable.


To enable System Integrity Protection, execute csrutil enable instead.

Similar questions

4 replies
Question marked as Top-ranking reply

Feb 16, 2018 7:50 PM in response to John Arul

Your Mac is automatically set to protect critical system files and directories using a mechanism called System Integrity Protection. SIP prevents any user (including the root user) from modifying these directories:


  • /System
  • /usr (but not /usr/local)
  • /bin
  • /sbin
  • Apps that are pre-installed with OS X


More information about System Integrity Protection can be found here: About System Integrity Protection on your Mac - Apple Support


If you would like to disable System Integrity Protection (NOT RECOMMENDED), you'll need to boot Recovery Mode, open Terminal and run csrutil disable.


To enable System Integrity Protection, execute csrutil enable instead.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

admin rights issue in System/Library folder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.