Last active
August 24, 2024 06:00
-
-
Save jamesattard/51240a9a60ca6bf9513e to your computer and use it in GitHub Desktop.
Fix Permissions and Refresh KExt cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Fixing ownership and permissions..." | |
chmod -R 755 /System/Library/Extensions/* | |
chown -R root:wheel /System/Library/Extensions/* | |
chown root:admin / | |
echo "Rebuilding kext cache..." | |
kextcache -system-prelinked-kernel | |
kextcache -system-caches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why don't you use sudo permission?
sudo chmod -R 755 /System/Library/Extensions/*
sudo chown -R root:wheel /System/Library/Extensions/*