Files are "Damaged and can't be opened" after running First aid Repair
Hi,
So I ran the disk utility 'first aid' repair on my HDD, and this has caused a huge amount of the files on my computer to give me the message "'-file-name-' is damaged and can’t be opened. You should move it to the Trash."
This even now happens for everything that I download, not just apps, anything I download will say it's damaged, so this is something more than just permissions not letting me run an app, even something as simple as a jpeg can't be opened. I have already tried putting permissions on allow anything just in case, this didn't fix anything.
I found a temporary fix by using terminal and typing 'xattr -cr -file-name-' . This allows me to open any file affected by this, however as soon as I close the file it goes back to saying it's damaged and I have to run the terminal line again every time I want to use a file affected by this. So the files aren't really damaged, something happened during the first aid that messed up however the computer is reading the files, I don't know how to use a hex editor so I have no clue what to change on these files, I'm hoping one of you will know more about this.
Any help is appreciated, thanks.