• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Viewing Documentation in Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Viewing Documentation in Safari
      • From: Patrick Mau <email@hidden>
References: 
 >Viewing Documentation in Safari (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Need help on parsing XML file and memory leaks
  • Next by Date: Re: Viewing Documentation in Safari
  • Previous by thread: Viewing Documentation in Safari
  • Next by thread: Re: Viewing Documentation in Safari
  • Index(es):
    • Date
    • Thread