Skip to content

Instantly share code, notes, and snippets.

@jamesattard
Last active March 20, 2024 14:09
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jamesattard/51240a9a60ca6bf9513e to your computer and use it in GitHub Desktop.
Save jamesattard/51240a9a60ca6bf9513e to your computer and use it in GitHub Desktop.
Fix Permissions and Refresh KExt cache
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