分类: 其他UNIX
2013-02-05 17:38:19
在终端中用open打开安装程序时提示:
$open /Users/hyperlau/Software\ Backup/Little\ Snitch/Little\ Snitch\ Installer.app
LSOpenURLsWithRole() failed with error -10810 for the file /Users/hyperlau/Software Backup/Little Snitch/Little Snitch Installer.app.
通过查看日志发现:
Feb 5 16:50:52 doudou kernel[0]: exec of /Volumes/LittleSnitch 2.5[3]/Little Snitch Installer.app/Contents/MacOS/Little Snitch Installer denied since it was quarantined by Maxthon.app and created without user consent, qtn-flags was 0x00000047
可以使用如下命令:
xattr -d -r com.apple.quarantine /Users/hyperlau/Software\ Backup/Little\ Snitch/Little\ Snitch\ Installer.app
这样就可以正常open安装程序了