Home › Knowledgebase › KB-1773

The document you requested cannot be opened macOS

Summary

This guide helps you troubleshoot and resolve: The document you requested cannot be opened macOS. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

The document you requested cannot be opened on macOS

Clinical staff at dental and medical practices often access digital imaging files, such as PDFs, JPGs, and DICOM exports, stored on Windows file shares via SMB. When opening these documents on a Mac, you may see an error stating "The document you requested cannot be opened." This typically occurs because macOS Transparency, Consent, and Control (TCC) has applied a quarantine attribute to files downloaded or accessed from a network share. This security feature is designed to protect your organisation from potentially malicious files, but it can inadvertently block legitimate clinical documents.

Quick Fix Steps

  1. Open the Terminal application on your Mac.
  2. Enter the command to remove the quarantine attribute from the affected file.
  3. Attempt to open the document again.

Detailed Instructions

Identify the File Path

  1. Locate the document that cannot be opened in Finder.
  2. Right-click (or Control-click) the file and select Get Info.
  3. Copy the file path listed under General or Where.

Clear the Quarantine Attribute

  1. Open Finder, navigate to Applications, then Utilities, and double-click Terminal.
  2. Type the following command, replacing /path/to/file.pdf with the actual path to your document: xattr -d com.apple.quarantine /path/to/file.pdf
  3. Press Return to execute the command.
  4. Double-click the document to verify it opens correctly.
If the file path contains spaces, wrap the entire path in quotation marks. For example: xattr -d com.apple.quarantine "/Volumes/PracticeShare/Dental Scans/Patient X-Ray.pdf"

Troubleshooting

Permission Denied Error

If you receive a "Operation not permitted" message in Terminal, you may need administrative privileges. Precede the command with sudo:

sudo xattr -d com.apple.quarantine /path/to/file.pdf

You will be prompted to enter your Mac administrator password. Note that characters will not appear on screen as you type.

Multiple Files Affected

To clear quarantine attributes for all files within a specific folder, use the recursive flag:

xattr -dr com.apple.quarantine /path/to/folder
Removing quarantine attributes bypasses a macOS security layer. Only perform this action on files from trusted sources within your practice's secure network. Do not apply this to files received via email or downloaded from unverified websites.

When to Contact Support

If the document still fails to open after clearing the quarantine attribute, the file may be corrupted or there may be a deeper permission issue with the SMB share. Please contact our support team for further assistance.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket