How to check XProtect and MRT versions running Big Sur?

Gatekeeper /usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" /private/var/db/gkopaque.bundle/Contents/Info.plist XProtect defaults read /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Info.plist CFBundleShortVersionString Check XProtect Version on MacOS Catalina (10.15.x) & MacOS Mojave (10.14.x) and later: system_profiler SPInstallHistoryDataType | grep -A 5…

Set permissions in Terminal

Set Root & Wheel sudo chown root:wheel filepath Links: https://www.howtogeek.com/669095/how-to-set-file-permissions-on-mac/ https://stackoverflow.com/questions/16492939/how-to-set-file-permissions-for-root-in-os-x-terminal