Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] MacOS X - Verify and repair permission under El Capitan
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter
November 4, 2015 9:28 PM
With the arrival of El Capitan, Apple decided to ruin their great Disk Utility.
Not only are some partitioning options gone, the option to verify or repair permission has been removed as well.
So how do I verify and repair permission now (rarely needed!) ????
To verify permissions:
Open Terminal and type this to verify permissions on your Mac disk (/).
Replace "/" at the end with the disk you want to verify if it's not your Mac hard disk.
sudo /usr/libexec/repair_packages --verify --standard-pkgs /
To repair permissions:
sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
This may take a while.
If you run repair_packages command without sudo you'll get help information instead.
/usr/libexec/repair_packages
Usage: repair_packages [ARGUMENTS]...
Commands:
--help Print this usage guide.
--list-standard-pkgs Display the package ids in the standard set.
--verify Verify permissions on files in the specified package(s).
--repair Repair permissions on files in the specified package(s).
Options:
--pkg PKGID Verify or repair the package PKGID.
--standard-pkgs Verify or repair the standard set of packages.
--volume PATH Perform all operations on the specified volume.
--output-format # Print progress info using a special output format.
--debug Print debuging information while running.