Repair disk permissions from the command line

Aug 10, 2010 - 3 Comments

You can initiate the same Repair Disk Permissions functionality that is seen in Disk Utility via the Terminal by typing the following command in the Terminal:
diskutil repairPermissions /

This will repair the disk permissions on your Mac’s main drive, if you want though you can run it on another disk by specifying it rather than / at the command line. Once the command has been executed you will see a message like:
Started verify/repair permissions on disk0s2 Mac HD

The time it takes to repair the disk permissions depends on various factors, but the command will update as permissions are repaired and will end itself when diskutil is finished. If you have verified disk permissions and you find a bunch of problems, you might want to cross check them with this list from Apple for errors that you can safely ignore.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Manish Patel in Command Line, Troubleshooting

3 Comments

» Comments RSS Feed

  1. bobobobby says:

    thank you very much!! you’re the savior of so many people, in my concern it’s 4persons, it’s a beginning, thank you!! thx!

  2. [...] Repair disk permissions from the command line. Share this:TwitterFacebookLike this:Mi piaceBe the first to like this. [...]

  3. jamauai says:

    Is there a way to repair permissions of a specific folder in the file system? For example /Library/Printers/ or something.

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates