Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

After High Sierra Update all files report "damaged and can't be opened"

I just upgraded my MacBook Pro (early 2011) w/ aftermarket SSD up to High Sierra, and then attempted to restore an account I had backup up via time machine on a machine running Sierra.


It's all been very bad so far.

On my MBPro, under the copied account, and under the existing admin account, every file I try to open throws a file corruption move to trash error. I tried to download Chrome, it tells me my DMG is corrupt, refuses to open it, wants me to trade it.


User uploaded file


Disk utility First aid tells me everything is fine, and Repair Permissions is gone.

Any suggestions??? this is bad!

THANKS!

CK

MacBook Pro, macOS High Sierra (10.13), SSD

Posted on Sep 29, 2017 8:11 AM

Reply
Question marked as Best reply

Posted on Nov 27, 2017 7:15 PM

I think I found the fix for this. http://osxdaily.com/2015/05/04/disable-gatekeeper-command-line-mac-osx/

I added back the checkbox allowing apps downloaded from Anywhere to run and that allows me to open PDFs, run installers for downloaded software, etc.


Note that I presume that this makes me more vulnerable to viruses, but I'm pretty careful about where I download stuff and what kinds of attachments I click on.

31 replies

Jan 28, 2018 11:24 PM in response to CK101A

1. Backup old Mac fully to Time Machine disk

2. On the new Mac hold Cmd+R to boot from Recovery

3. Choose Restore from Time Machine backup and choose the disk from step 1

4. Let the system do its thing, it should then bootup and be useable.


This issue seems to occur due to Migration Assistant doing a shoddy job of converting HFS+ to APFS on the fly.

Can anyone else confirm this solution?



Thank you

Feb 11, 2018 9:13 PM in response to apl73

I ran into the same problem after using the Migration Assistant to move files from an iMac 2015 running Sierra to a new iMac 2017 running High Sierra (10.13.3). I couldn't open any file that was downloaded from the Internet including .pdfs nor files from email attachments, or even files I copied on to the machine post migration. While the previously referenced gatekeeper fix did work, it's not something I wanted to rely on because of the increased risk. I spent quite a bit of time with Apple Care changing permissions on the file system, etc.; it didn't work. Also the problem impacted all users on the system including a new user created after the migration. Finally, I reinstalled the OS and that seems to have fixed everything.

Mar 9, 2018 7:03 AM in response to CK101A

I had the same problem after using migration assistant to move my files over to a new iMac from a 2012 iMac. The behavior was unusual. for example, I could open an .jpg in Preview once, but if I tried to view it immediately afterward a second time I got the damaged file message. I tried resetting permissions using the terminal in utilities with no result. Finally after spending a few hours on the phone with Apple support they concluded that the operating system on my new iMac must be damaged. After reloading the operating system, the problem was solved. Apple support did a wonderful job of patiently working with me to solve the issue.

Mar 21, 2018 8:45 AM in response to CK101A

Check this discussion on StackExchange: sierra - Gatekeeper preventing from opening files from Finder (launching apps is fine) - Ask Different


I had the same issue, the above fixed it. The file /var/db/gkopaque.bundle was damaged (zero bytes) which was the root of the issue. Replacing this file with a known good copy completely eliminated the "damaged file" message.


This works WITHOUT disabling Gatekeeper, which from a security perspective is a much better solution for everyone.


I have reported this fix to Apple Support so hopefully word gets out there. It took me a long time to track this down, and I'm really thankful to the person on StackExchange who was persistent enough to keep digging until a solution was found.

After High Sierra Update all files report "damaged and can't be opened"

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