Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

maccompaq

macrumors 65816
Original poster
Mar 6, 2007
1,169
24
This was a suggestion from the past.

The system won't let you modify any files that are flagged as restricted. I am not sure what happened, but I presume that the folder in which these files were contained was not protected, which is why you were able to move the folder along with the files to Trash. In general, the System folder is off-limits now as long as SIP is enabled. You directly manipulated these files while SIP was off, but they were automatically protected once SIP was re-enabled.
Amazing! Thank you so much for your help. It worked. I disabled SIP, then I was able to remove the files from the trash. Thanks again!

How do I disable the SIP so I can empty the stubborn item from the Trash. I have tried Terminal and several other Tips to no avail.
 
How to disable SIP:

First, write this down on paper:
csrutil disable
(there is a space between them, remember that when you type it in)

Next, reboot from the recovery partition.
You MUST reboot to the recovery partition to enter this command.

When you are booted to the recovery partition, open terminal.
Now type in:
csrutil disable
Hit return, and enter your password.
Quit terminal.
Reboot to your "regular boot partition".

When you get there, re-open terminal
Enter:
csrutil status

It should respond:
"System Integrity Protection status: disabled."

To RE-enable SIP, repeat the process you went through above.
EXCEPT:
This time, reboot to recovery, open terminal and enter:
csrutil enable

I -think- that's the command that re-enables it.
Not sure about that, because once I disabled SIP, I never wanted it back on!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.