# 如何在 macOS 上停用 SIP 并为“终端”授予完全磁盘访问权限

_As of 2026-11-27_

大多数安装并不需要关闭 SIP：先试试为“终端”授予完全磁盘访问权限。如果某个工具确实需要，就在 macOS 恢复模式下用 csrutil disable 停用 SIP，完成那一项任务后，再用 csrutil enable 重新开启。

System Integrity Protection (SIP) stops even administrators from altering protected system locations. A small number of advanced tools (kernel-adjacent utilities, some older installers) ask for it to be off. For everything else, granting Terminal Full Disk Access is enough and far safer.
Check your current SIP status
Open Terminal and run csrutil status. If it says "enabled", you only need to change it when a tool explicitly fails because of SIP.
Enable Full Disk Access first (usually enough)

Open System Settings → Privacy &amp; Security → Full Disk Access.
Toggle on Terminal (or iTerm). Quit and reopen the app.
Re-run the install script. Many "operation not permitted" errors disappear here without touching SIP.

Disable SIP from Recovery (only if required)

Shut down. On Apple Silicon, hold the power button until "Loading startup options" appears; on Intel, hold ⌘-R at boot.
Choose Options → Utilities → Terminal.
Run csrutil disable, then reboot.
Complete the single task that required it.

Re-enable SIP when you are done
Boot back into Recovery and run csrutil enable, then reboot. Leaving SIP off long-term exposes the system, so treat "off" as a temporary state.
Verify everything is back to normal
Run csrutil status again — it should report "enabled". Your app should keep working because its files were already placed while SIP was off.
Keeping SIP on is the default for a reason. Reach for Full Disk Access first; only disable SIP briefly, and always turn it back on.

> Source: https://macsoftpark.net/zh/guides/disable-sip-full-disk-access/
