Mac 去掉文件属性@

去掉命令:

xattr -d com.apple.quarantine  xxxx

xattr -c xxxx

 

如果以上两个命令还是没有去掉@,那么查看文件属性:

 

 

如果是com.apple.macl属性, 这个属性是受SIP保护的。  

有两种方案:

1, 关闭SIP保护

 

    查看操作步骤: https://jingyan.baidu.com/article/f0e83a255eea0622e591013d.html

 

2.  将这个文件复制到另外一个存储器。u盘或者SD卡, 然后执行xattr -c xxxx

 

比较官方的解释: https://eclecticlight.co/2020/01/30/quarantine-sip-and-macl-macos-per-file-security-controls/

 

posted @ 2021-05-08 22:58  Please Call me 小强  阅读(1169)  评论(0编辑  收藏  举报