Verify And Repair Permissions From The Command Line In OS X El Capitan

Verify and Repair Permissions from the Command Line in OS X El Capitan

Mac: The helpfulness of verifying and repairing file permissions in OS X is debatable, and in OS X El Capitan, Apple's removed the option from Disk Utility altogether, favouring repairing permissions automatically. Some crazy circumstance might come up where you have to do it manually though, which is why OS X Daily points out the command line method is useful.

Most of us don't really need to bother with repairing and verifying permissions, but while it's rarely a remedy for an ailing Mac, it's still often a useful troubleshooting step. While the option is gone from Disk Utility, running it from the command line works the same as ever. Open up Terminal (Applications > Utilities) and type in:

sudo /usr/libexec/repair_packages --verify --standard-pkgs / 

That will verify your disk. Next, you can repair by typing in:

sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume / 

Repairing permissions will likely take a while. Again, OS X El Capitan does this automatically now, so it's only useful in rare situations, but useful nonetheless.

How to Verify & Repair Permissions in OS X El Capitan [OS X Daily]


    They are still there in Disk Utility - moved to a menu. I checked mine on the weekend.

    Or just use a free utility like Onyx.

Join the discussion!

Trending Stories Right Now