开发者

What does the console error 'Unable to clear quarantine' mean?

I'm making an OS X Installer package. 开发者_开发百科I download it from a build machine onto a test machine (10.5.8) and then run it. In the console, the following message is immediately logged:

kernel[0]: Finder[52646] Unable to clear quarantine '<package name>': 30

From what I've read, Leopard sets a quarantine extended attribute on all downloaded files. It's possible to use xattr to remove that flag, although that obviously doesn't apply to this situation, since a program can't un-quarantine itself.

I don't have a problem with the quarantine itself, or with Leopard popping up some dialog asking whether the user trusts the program. But I would like to know why the quarantine could not be cleared, and whether there is a way to modify my installer or the scripts it runs to prevent that error from being logged.


Does the user on the test machine have administrative privileges? If the app is in a folder such as /Applications, you'll need them. If you can not change the user, try to download the app in his home folder.


I'm guessing you downloaded it as a privileged user but you're running the installer as another user. Since the file is owned by the user that downloaded it, the user that wants to run it can only do so read-only. Check the file ownership and permissions to see if i'm right.


  • Try to copy from your build server using ditto (and pay attention on various switches that control the copy src and dst)
  • check access rights on the share of your build server
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜