OS X El Capitan 拒绝将文件复制到 Safari 目录

OS X El Capitan deny copy file to Safari directory

在较旧的 OS X 版本中,我可以通过将文件拖动到 Safari 目录来复制文件,如下图所示。但它在 El Capitan 中不起作用:

所以我打开控制台,sudo 到 root 使用 [copy] 命令复制,但它显示如下警告:

如果你想让它工作,你必须禁用系统完整性保护。

SRI 功能拒绝您写入系统保护文件夹 (info):

Paths and applications protected by System Integrity Protection include:

  • /System
  • /usr
  • /bin
  • /sbin

Apps that are pre-installed with OS X Paths and applications that third-party apps and installers can write to include:

  • /Applications
  • /Library
  • /usr/local