emma3
V2EX  ›  Apple

MAC OS 怎样修改系统只读文件?

  •  
  •   emma3 · Apr 29, 2023 · 2760 views
    This topic created in 1287 days ago, the information mentioned may be changed or developed.

    SIP 关闭了,用挂载命令显示: sudo mount -uw / mount_apfs: volume could not be mounted: Permission denied mount: / failed with 66

    请问有办法修改吗? Monterey 12.6.5 系统。

    3 replies  •  2023-05-01 09:59:06 +08:00
    emma3
    emma3
    OP
    Apr 29, 2023
    1
    root 权限用 vim 修改,保存时一直显示只读,chmod 改不了,提示只读。
    mrtctl
    mrtctl
    May 1, 2023
    3
    可以说一下要改的具体文件。没记错的话正常开机后,Mac 系统分区是一个 Apple 签名的只读的快照,所以无论 SIP 如何都无法修改。具体可以看 https://eclecticlight.co/2020/06/25/big-surs-signed-system-volume-added-security-protection/
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1026 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:42 · PVG 02:42 · LAX 10:42 · JFK 13:42
    ♥ Do have faith in what you're doing.