Diary

[Mac] Terminal and Operation not permitted – Configure for Developer Use

1 Mins read

macOS Monterey
Version 12.4

■1. Change “SIP” to disabled
(Disable System Integrity Protection: SIP)

Shut down Mac once
At startup, press “command + R”, release when the mark appears
Recovery mode starts
From the menu bar at the top, select “Open Terminal”

# Command: Check if "csrutil status" returns "enabled"
csrutil status

# Command: Run "csrutil disable" (changes take effect only after reboot!)
csrutil disable

# Command: Reboot Mac with "reboot"
reboot

■2. Set Terminal to full file access
After normal startup
Go to “System Preferences”

“Security & Privacy”

“Privacy” tab, then “Full Disk Access” on the right

Check the “Terminal” checkbox On

■3. Delete “.DS_Store” and prevent creation

# Delete all .DS_Store files
sudo find / -name ".DS_Store" -delete
# Restart Finder
Killall Finder

# Prevent .DS_Store files from being created at all
defaults write com.apple.desktopservices DSDontWriteNetworkStores True
# Restart Finder
Killall Finder

■4. If not needed, disable iCloud sync