![]() output-format # Print progress info using a special output format. volume PATH Perform all operations on the specified volume. standard-pkgs Verify or repair the standard set of packages. ![]() pkg PKGID Verify or repair the package PKGID. repair Repair permissions on files in the specified package(s). verify Verify permissions on files in the specified package(s). list-standard-pkgs Display the package ids in the standard set. If you execute the repair_packages command without sudo and with no specifications or flags, you’ll get a simple help guide instead: Repairing permissions may take a while, just like it did from Disk Utility. Sudo /usr/libexec/repair_packages -repair -standard-pkgs -volume / How to Repair Disk Permissions in OS X El Capitan from Command LineĪssuming permissions have been found which differ and you’d like to repair them, replace the –verify flag with –repair, and again point the command at the same volume: Permissions differ on "usr/libexec/cups/monitor", should be drwxr-xr-x, they are dr-xr-xr-x. Permissions differ on "usr/libexec/cups/driver", should be drwxr-xr-x, they are dr-xr-xr-x. Permissions differ on "usr/libexec/cups/daemon", should be drwxr-xr-x, they are dr-xr-xr-x. Permissions differ on "usr/libexec/cups/cgi-bin", should be drwxr-xr-x, they are dr-xr-xr-x. Not surprisingly, you’ll likely find some variation of permissions that differs, looking something like: The command will run and either show permissions that differ, or nothing, depending on what’s found. If you want to verify permissions on a different drive, specify the volume rather than “/” Sudo /usr/libexec/repair_packages -verify -standard-pkgs / Open the Terminal application (found in /Applications/Utilities/) and use the following syntax to verify a volumes permissions, this will verify the default root volume of a Mac: How to Repair Verify Disk Permissions in OS X El Capitan Note this is not the same as verifying and repairing a disk. In this sense, repairing permissions is sort of considered a form of hocuspocus with little benefit to most OS X situations, but nonetheless there are some unique circumstances where you may want to verify and repair disk permissions in OS X anyway, particularly if a files permissions are actually off, meaning the ability for certain users and processes to read and write particular files and folders. To be clear, verifying and repairing disk permissions has long been over assigned as a remedy to all sorts of issues on the Mac, most of which are rarely accurate or legitimate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |