Cannot open downloaded files

My computer suddenly does not let me open downloaded files of any kind. It does not matter if they are in Word, PDF or any format. For example, downloaded forms from a government site cannot be accessed. Just in case, I went to a camera manufacturer's site to download a lens manual, but when I try to open the file, I get the same warning I get for any downloaded file:



If I do command + I and check the permissions, I appear as having read and write privileges:



Changing the privileges to read only and back to R+W does not make any difference. Rebooting the computer makes no difference. I ran Disc Utility's first aid just in case... to no avail.


I have also opened terminal and run "sudo chown myusername /path/to/my/document.PDF" to no effect.


This problem is also happening if I download my camera's files via WiFi.


Your kind assistance and suggestions will be appreciated.


MacBook Pro 14″, macOS 15.0

Posted on Oct 31, 2024 1:18 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 8, 2024 9:21 AM

HWTech wrote:

Don't use PDF files for testing especially when using Preview since Preview has a bug where if the third party PDF form is filled in using Preview, then it will lock the PDF. If you want to test PDF files, then try opening them with another app.

What if you launch the app first, then select "File --> Open..." to locate the file & open it?

Check if the quarantine flag is set on the file using the command line (just drag & drop the file onto the open Terminal window after first typing "xattr " making sure to leave at least one space):
xattr <path-to-file>

If it has the quarantine flag, then use the following command to delete the quarantine flag:
xattr -d com.apple.quarantine <path-to-file>

It is possible that this flag could be added again.

I believe I may have seen some other method on this forum to perhaps prevent this need, but I don't recall what the other solution may be now. Try searching this forum for the past year for this issue since I think there is a better way. I think there was some macOS setting that was causing this issue.

Edit: Are you using any third party anti-virus software, cleaning/optimizer apps, or third party security software?


That helped, even though it was tedious.


The problem went away briefly after upgrading to Sequoia 15.1. Now its back with a vengeance as trying to use xattr yields an error: "xattr: [Errno 1] Operation not permitted".

8 replies
Question marked as Top-ranking reply

Nov 8, 2024 9:21 AM in response to HWTech

HWTech wrote:

Don't use PDF files for testing especially when using Preview since Preview has a bug where if the third party PDF form is filled in using Preview, then it will lock the PDF. If you want to test PDF files, then try opening them with another app.

What if you launch the app first, then select "File --> Open..." to locate the file & open it?

Check if the quarantine flag is set on the file using the command line (just drag & drop the file onto the open Terminal window after first typing "xattr " making sure to leave at least one space):
xattr <path-to-file>

If it has the quarantine flag, then use the following command to delete the quarantine flag:
xattr -d com.apple.quarantine <path-to-file>

It is possible that this flag could be added again.

I believe I may have seen some other method on this forum to perhaps prevent this need, but I don't recall what the other solution may be now. Try searching this forum for the past year for this issue since I think there is a better way. I think there was some macOS setting that was causing this issue.

Edit: Are you using any third party anti-virus software, cleaning/optimizer apps, or third party security software?


That helped, even though it was tedious.


The problem went away briefly after upgrading to Sequoia 15.1. Now its back with a vengeance as trying to use xattr yields an error: "xattr: [Errno 1] Operation not permitted".

Nov 1, 2024 9:27 AM in response to Siatonto

Don't use PDF files for testing especially when using Preview since Preview has a bug where if the third party PDF form is filled in using Preview, then it will lock the PDF. If you want to test PDF files, then try opening them with another app.


What if you launch the app first, then select "File --> Open..." to locate the file & open it?


Check if the quarantine flag is set on the file using the command line (just drag & drop the file onto the open Terminal window after first typing "xattr " making sure to leave at least one space):

xattr  <path-to-file>


If it has the quarantine flag, then use the following command to delete the quarantine flag:

xattr  -d  com.apple.quarantine  <path-to-file>


It is possible that this flag could be added again.


I believe I may have seen some other method on this forum to perhaps prevent this need, but I don't recall what the other solution may be now. Try searching this forum for the past year for this issue since I think there is a better way. I think there was some macOS setting that was causing this issue.


Edit: Are you using any third party anti-virus software, cleaning/optimizer apps, or third party security software?


Nov 2, 2024 5:36 AM in response to HWTech

Thank you HWTech.


While I first noticed the problem when I tried to work on a Word document downloaded from Gmail, it happens with any downloaded file regardless of format (PDF, JPG, etc). It also happens with camera raw files if I transfer them from the camera to the computer via WiFi.


Anyway, I ran the command you suggested and each file that I have checked has the quarantine flag.


As for security, I have been using Sophos home for many years without a problem.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot open downloaded files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.