Permissions Repair in El Cap - 02/04/16 11:18 AM
A line of discussion in another thread got me wondering if I had wreaked any havoc by running SIP-less, so I decided to see what repairing permissions would tell me.
The errors didn't recur in a second run, but the second one recurred after a restart, suggesting that it's just another Apple "will-o'-the-wisp".
The non-recurrence of first one has got me wondering, though...
On the one hand, Apple tells us
but on the other hand, they tell us
so there's an awful lot of unprotected territory in OS X, the location of my first permissions error included.
Which leads me to wonder whether Apple has dropped the ball or simply told us "Yeah, we set those permissions, but they're not really important"?
Hmmm...
Quote:
Artie's-MacBook-Pro:~ artie$ sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
Password:
User differs on "Library/Bundles", should be 0, user is 501.
Group differs on "Library/Bundles", should be 0, group is 20.
Repaired "Library/Bundles".
User differs on "private/var/db/displaypolicyd", should be 0, user is 244.
Group differs on "private/var/db/displaypolicyd", should be 0, group is 244.
Repaired "private/var/db/displaypolicyd".
Artie's-MacBook-Pro:~ artie$
Password:
User differs on "Library/Bundles", should be 0, user is 501.
Group differs on "Library/Bundles", should be 0, group is 20.
Repaired "Library/Bundles".
User differs on "private/var/db/displaypolicyd", should be 0, user is 244.
Group differs on "private/var/db/displaypolicyd", should be 0, group is 244.
Repaired "private/var/db/displaypolicyd".
Artie's-MacBook-Pro:~ artie$
The errors didn't recur in a second run, but the second one recurred after a restart, suggesting that it's just another Apple "will-o'-the-wisp".
The non-recurrence of first one has got me wondering, though...
On the one hand, Apple tells us
Originally Posted By: Apple
Beginning with OS X El Capitan, system file permissions are automatically protected. It's no longer necessary to verify or repair permissions with Disk Utility. (Emphasis added)
but on the other hand, they tell us
Originally Posted By: Apple
Paths and applications protected by System Integrity Protection include:
• /System
• /usr
• /bin
• /sbin
• Apps that are pre-installed with OS X
Paths and applications that third-party apps and installers can write to include:
• /Applications
• /Library
• /usr/local
• /System
• /usr
• /bin
• /sbin
• Apps that are pre-installed with OS X
Paths and applications that third-party apps and installers can write to include:
• /Applications
• /Library
• /usr/local
so there's an awful lot of unprotected territory in OS X, the location of my first permissions error included.
Which leads me to wonder whether Apple has dropped the ball or simply told us "Yeah, we set those permissions, but they're not really important"?
Hmmm...