Repair disk permissions from the command line


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.

via
Repair disk permissions from the command line.

About these ads

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...