Re: Viewing Documentation in Safari
Re: Viewing Documentation in Safari
- Subject: Re: Viewing Documentation in Safari
- From: Jeff Johnson <email@hidden>
- Date: Tue, 2 Dec 2008 08:43:25 -0600
Gerriet,
(This really belongs on the xcode-users mailing list rather than cocoa-
dev, I think.)
Following instructions I found on the web, I created the file "~/
Library/Preferences/com.apple.DownloadAssessment.plist" with the
following contents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd
">
<plist version="1.0">
<dict>
<key>LSRiskCategoryNeutral</key>
<dict>
<key>LSRiskCategoryContentTypes</key>
<array>
<string>public.item</string>
</array>
</dict>
</dict>
</plist>
Then I logged out and logged back in. This provides a permanent
solution to the dialog problem, not only for Xcode docs but in
general. If you want a more specific solution, try this:
sudo find /Developer/Documentation/DocSets -exec xattr -d
com.apple.quarantine {} \;
Unfortunately, it could take hours to complete, and you'll have to
repeat every time you download a docset update.
Also, please file a bug at <https://bugreport.apple.com/> to provide
an easy, documented way of turning off the warnings. You can reference
<rdar://problem/6321484> "Are you sure you want to open it? Are you
sure you want to open it? Are you sure".
-Jeff
On Dec 2, 2008, at 1:01 AM, Gerriet M. Denkmann wrote:
When I try to open the "String Programming Guide for Cocoa" in
Safari, it tells me that:
“index.html” is a web application which was downloaded from the
Internet. Are you sure you want to open it?
Xcode downloaded this file on 26 November 2008 from
developer.apple.com.
First of all, I strongly doubt that this innocent html page is
really a web application.
And secondly, I really get tired of seeing this panel over and over
again, whenever I try to open any documentation on my computer.
Is there a way to get rid of this message?
Owner of these pages is _devdocs and others (like me) have not write
rights; so if I open this page, the quarantine entry (in extended
attributes) can not be cleared.
02/12/2008 14:00:14 kernel CoreServicesUIAg[4444] Unable to clear
quarantine `index.html': 13
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden