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]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


One response to “Verify And Repair Permissions From The Command Line In OS X El Capitan”