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
Facebook may have decided that you shouldn’t see the news, but we think you deserve to be in the know with Lifehacker Australia’s content. To sign up for our daily newsletter covering the latest news, hacks and reviews, head HERE. For a running feed of all our stories, follow us on Twitter HERE. Or you can bookmark the Lifehacker Australia homepage to visit whenever you need a fix.

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.

Comments are closed.

Log in to comment on this story!