惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
Cisco Talos Blog
Cisco Talos Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cybersecurity and Infrastructure Security Agency CISA
T
Threatpost
S
Securelist
T
Tor Project blog
V
V2EX - 技术
The GitHub Blog
The GitHub Blog
L
LINUX DO - 最新话题
E
Exploit-DB.com RSS Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
F
Fortinet All Blogs
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
大猫的无限游戏
大猫的无限游戏
N
News and Events Feed by Topic
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Scott Helme
Scott Helme
Google DeepMind News
Google DeepMind News
月光博客
月光博客
V
Visual Studio Blog
云风的 BLOG
云风的 BLOG
T
Threat Research - Cisco Blogs
Vercel News
Vercel News
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Google DeepMind News
Google DeepMind News
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
T
Tenable Blog
A
Arctic Wolf
L
LINUX DO - 热门话题
Apple Machine Learning Research
Apple Machine Learning Research
N
News | PayPal Newsroom
C
Cyber Attacks, Cyber Crime and Cyber Security
D
DataBreaches.Net
Cloudbric
Cloudbric
GbyAI
GbyAI
T
Tailwind CSS Blog
Recorded Future
Recorded Future
A
About on SuperTechFans
Last Week in AI
Last Week in AI
T
Troy Hunt's Blog
雷峰网
雷峰网
博客园 - 三生石上(FineUI控件)
Schneier on Security
Schneier on Security
腾讯CDC
S
SegmentFault 最新的问题
量子位

The Eclectic Light Company

Hero or hooligan: Theseus’ later years BSD flags are incompatible with iCloud Drive Apple has released macOS Tahoe 26.5.1 In memoriam Mary Cassatt: 1, 1868-1880 Solutions to Saturday Mac riddles 362 What Location Services do in macOS Eclectic paintings of Joseph Stella: 2 European myths Last Week on My Mac: Razzle and dazzle Eclectic paintings of Joseph Stella: 1 American landscapes Saturday Mac riddles 362 Protect files with the Locked or Immutable flag Reading Visual Art: 252 Dragonfly What happens in the log when an app crashes as it starts up? Portraits of trees: Introduction On Reflection: Conclusions and contents Which tasks require mains power? Medium and message: Vast canvases Online reference to external displays for Apple silicon Macs What’s in that phishing email? Hero or hooligan: Theseus and Ariadne Solutions to Saturday Mac riddles 361 How to search document versions Rubens’ Consequences of War Rubens’ Peace and War Saturday Mac riddles 361 How to search Time Machine backups? Naturalists: Contents and artists On Reflection: Extending the image Tackle QuickLook problems Medium and message: Pottery Hero or hooligan: Theseus and the sandals How QuickLook provides thumbnails and previews Last Week on My Mac: Syncing metadata in iCloud Drive Paintings of visits to India 1778-1877 Saturday Mac riddles 360 Naturalists: Sorolla and Zorn On Reflection: Pierre Bonnard 1909-1946 SpotTest 1.2 can display Spotlight metadata directly On Reflection: Pierre Bonnard 1899-1908 How to preserve versions, and how to create versioned PDFs Medium and message: Sculpture What gets synced in iCloud Drive? Hero or hooligan: Perseus 2 Solutions to Saturday Mac riddles 359 Last Week on My Mac: snapshots, the elephant in APFS Paintings of Beatrice Portinari: to 1862 Saturday Mac riddles 359 Naturalists: Into the 20th century How to check whether Spotlight is getting the right metadata On Reflection: Mirror play Hero or hooligan: Perseus 1 The bicentenary of Frederic Edwin Church: 1857-77 Solutions to Saturday Mac riddles 358 macOS virtual machines and audio-video syncing A walk in the parks of Rome, Vienna, Manhattan and Brooklyn Saturday Mac riddles 358 Naturalists: Photography Use Finder tags for categories Control what gets written to the log Medium and message: Tapestry Virtualisation on Apple silicon Macs is different Jerusalem Delivered: Overview and contents The bicentenary of Frederic Edwin Church: 1849-57 Solutions to Saturday Mac riddles 357 Painting Pandora and her box: 1883-1919 Painting Pandora and her box: 1550-1882 Saturday Mac riddles 357 Reading Visual Art: 250 Winged sandals The secret life of the xattr The macOS Natural Language framework and Nalaprop Medium and Message: Stained glass The MACL extended attribute Jerusalem Delivered: 13 Leading characters Solutions to Saturday Mac riddles 356 Privacy: How locations are protected Painting Spring blossom 2 Last Week on My Mac: Don’t be a victim of fraud Painting Spring blossom 1 Saturday Mac riddles 356 Explainer: Recovery Reading Visual Art: 249 Mask Naturalists: Urban poverty On Reflection: Cézanne Privacy: Which folders are protected in Tahoe? Medium and Message: Mosaic Jerusalem Delivered: 12 Delivery Solutions to Saturday Mac riddles 355 Centaurs 2: Revenge Centaurs 1: Fights Saturday Mac riddles 355 Explainer: sandboxes Naturalists: The modern meal Why you can’t trust Privacy & Security Apple has just released an update to macOS Tahoe, to version 26.4.1 On Reflection: Divisionism Please help update CPU frequencies for Apple silicon Macs Commemorating the centenary of the death of John Ferguson Weir Privacy: Files & Folders or Full Disk Access? Jerusalem Delivered: 11 Into Jerusalem Privacy: protected folders
Last Week on My Mac: Why is it so hard to open a document?
hoakley · 2026-06-14 · via The Eclectic Light Company

Double-clicking a document has always been one of the most exciting experiences on a Mac, no matter how mundane it might seem. It’s that moment you see the bond between an individual file and the app that should edit it. In the years before Mac OS X, that was all up to the hidden desktop database, responsible for associating document types and creators. These days it depends on an elaborate artifice involving UTI types and LaunchServices. But behind those lurk the modern trappings of security and privacy protection.

Last week I looked at a problem that has plagued macOS for the last nearly seven years: how perfectly good apps can refuse to open perfectly good documents, failing to do what Macs have been so good at for the previous 35 years. In this article I walk through what happens.

So I have created in Pages an illustrated guide to cycling around the Isle of Wight, and exported it to PDF. Although its entire contents have remained on that Mac throughout, that PDF has a quarantine extended attribute added to it, its flag set to indicate that it’s in quarantine, just as it would if I had downloaded it from a suspicious website. The only difference is that its origin is given as the Pages app rather than Safari.

Normally I don’t use Preview as my default app for reading PDFs, but on this occasion I want to add annotations, so I change that document’s default app to Preview in the Finder’s Get Info dialog. I then double-click that PDF to open it in Preview, only to be told Apple (should that perhaps be macOS?) could not verify my PDF is free of malware, and offering to trash my hard-won work.

Mark those words carefully. Apple is informing me that it’s unable to tell whether a document created on a Mac using Apple’s own software contains malicious code, and is safe to open with an app it has developed and macOS runs in a sandbox. What point is there in running macOS and using Apple’s apps if the documents they create aren’t safe to use?

Click on the help button, and Tips opens a page about malware protection that has nothing to do with opening PDF documents, but tells me about hidden dangers in “scripts, web archives and Java archives”. Not ordinary everyday PDFs.

Examining what happened in the log is even more disturbing. My PDF is first checked against XProtect’s short blacklist in XProtect.meta.plist, then scanned against the Yara rules in XProtect.yara, neither of which report any adverse findings. But the file’s signature is also checked, and like every other PDF it’s unsigned. On the strength of it being in quarantine and not being signed, macOS then deems it isn’t safe to open.

Expecting to find a valid signature on a PDF document is frankly one of the most absurd behaviours I have seen in any operating system. Although a signature could be attached to the file in an extended attribute, a technique sometimes used when signing executable code, the signature itself could only be ad hoc, thus worthless as a guarantor of the file’s integrity. The signature would also have to be replaced every time the file was saved, a feature that simply doesn’t exist in Preview or any other PDF editor. Surely there’s some mistake in checking a PDF document for a signature?

It’s also strange that this dialog should mention that opening my PDF might compromise my privacy. That enters even murkier waters, given that I have expressed my intent unambiguously by double-clicking the document in the Finder, it’s in my Documents folder, to which Preview has full access, and was created by me.

Undeterred by Apple’s self-confessed shortcomings, I set my PDF’s default app back to the original, then use the Finder’s contextual Open With command to try opening it in Preview.

I’m now confronted with a different excuse, although at least I’m here given the option to press ahead and ignore these dire warnings. But in some ways this dialog is even more incoherent than the first. The icon shown reminds me of the Home app, not Preview, and tells me that my PDF document could be an app after all. I’m now wondering what sort of operating system can’t tell the difference between a single-file PDF document and an app bundle.

Comparing this dialog with the previous one, I’m mystified. The previous excuse, that Apple couldn’t verify whether my PDF is free of malware, has now been forgotten altogether. Does that imply Apple can verify that it’s safe to open if I use a different route to open it? If so, why didn’t Apple use this method of verification when I double-clicked the document the first time?

For this dialog, Tips explains to me “ways to avoid malware and harmful apps on Mac” in a set of tips all completely irrelevant to this problem. Ironically, it gives the advice, which it stresses is important, “If you see a warning that a file you received is an app – for example, a file sent to you in an email – and you don’t expect the file to be an app, don’t open the file. Delete it from your Mac.” Does this mean that I should delete my PDF on the grounds that it “may be an app” as this dialog informs me?

Being curious, I click on the Cancel button here, and instead open Preview and use the Open command in its file menu to select my PDF. Now there’s no dialog at all, my unsigned quarantined PDF that couldn’t be checked for malware and could be an app finally does what I want.

It has taken over forty years to progress from the Mac’s distinctive double-clickable documents to a file that Apple can’t verify that it’s free from malware, could be an app rather than a document, and might or might not open in the app of my choosing. Help may be on its way at last, though.