I have deleted the file
/Library/Preferences/ by mistake.
I have a copy of the file saved.
I hoped the file would be reconstructed after reboot, but that didn't happen. A file with the same name in
~/Library/Preferences/ was reconstructed, but not the one in
Can I somehow make reconstruct this file?
I copied the saved copy to
/Library/Preferences/ but it has different file permissions. In particular I had to change the owner to root, and there were some additional extended attributes. I tried to remove the extended attribute
com.apple.provenance but the command
xattr -d ... simply doesn't do anything.