[OS X] Restore access rights in El Capitan
OS X has a very broad capabilities on a custom Mac maintenance and Troubleshooting. The trend towards simplification, of course, not spared and the “Apple” of the OS, so the new versions are discontinued often familiar tools, and their functions are entrusted to automation. However, in some cases, may still require user intervention, and about one such feature we will cover in this article.
Honestly, fix access rights to the drives already performs the role of universal recommendations if there are any problems in the OS. Because of the emergence of El Capitan in System Integrity Protection, also known as Rootless, most Mac owners are unlikely to need this procedure, because when SIP neither users nor applications or processes may not write or modify the files in the directories /bin, /sbin and /usr that are hidden by default. For obvious reasons, does not function in the usual Disk utility.
Read more about Rootless, you can read here, and if you need authorization, get help from a well-known app “Terminal”. In command prompt, here you need to enter this command.
sudo /usr/libexec/repair_packages —verify —standard-pkgs —drive /
The result may be something similar to these lines.
Permissions differ on “usr/libexec/cups/cgi-bin”, 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/driver”, should be drwxr-xr-x , they are dr-xr-xr-x .
Permissions differ on “usr/libexec/cups/monitor”, should be drwxr-xr-x , they are dr-xr-xr-x .
If the system detected discrepancies in the permissions, then to fix this, give the command repair.
sudo /usr/libexec/repair_packages —repair —standard-pkgs —drive /
By this procedure, which can take some time depending on the size and condition of the disc, you can close the Terminal and continue routine work. Again, the developers knowingly was deprived of “Disk utility” of the familiar options, and little need for it today is really not. However, in the event of a problem with the system solution can be useful.
I hope this simple advice will help make your Mac even more secure and faster. Productive work!
Edition AppleInsider.ru not responsible for any consequences of any actions or manipulations that are associated with the additional functions of operating systems.
According to the materials of OSXDaily