我刚刚升级到Mac OS X Mavericks。我有一个sparsebundle映像,它安装了“quarantine”属性,这阻止我在卷上运行任何shell脚本。这是我在终端中运行“mount”时得到的结果:
/dev/disk1s2 on /Volumes/Source (hfs, local, nodev, nosuid, journaled, noowners, quarantine, mounted by crith)
我尝试在sparsebundle图像上运行以下命令:
xattr -d com.apple.quarantine Source.sparsebundle
但是,在设置“隔离”标志的情况下,音量仍在增加!有什么建议吗?
答案 0 :(得分:8)
看起来sparsebundle中的令牌是导致图像与隔离标志一起安装的原因。要修复,请运行:
xattr -d com.apple.quarantine Source.sparsebundle/token