Posted on 09-13-2016 08:34 AM
I have the macOS Sierra GM installed on a VM and any time I run the command:
sudo jamf fixPermissions -verbose
I get an error:
Fixing Permissions...
verbose: Error executing command: (
"/usr/libexec/repair_packages",
"--repair",
"--standard-pkgs",
"--volume",
"/"
)
I'm currently on JSS 9.96.1472575603.c and running that same command works on 10.11
Solved! Go to Solution.
Posted on 09-13-2016 10:16 AM
The repair_packages binary is not in the /usr/libexec folder on 10.12.
Posted on 09-13-2016 08:56 AM
I'm running JSS 9.81 and when I run the command on my GM of macOS Sierra, I only get "fixing permissions" and immediately, a new command prompt. There is no error message when in verbose mode. I assume it failed as well.
Beginning with OS X 10.11, permissions repair is no longer necessary as they are protected with SIP. I'll try it on a 10.11 machine out of curiosity.
Posted on 09-13-2016 09:57 AM
This works on 10.11.x, haven't tried it on 10.12 yet:
/usr/libexec/repair_packages --repair --standard-pkgs --volume /
Posted on 09-13-2016 10:16 AM
The repair_packages binary is not in the /usr/libexec folder on 10.12.
Posted on 10-31-2016 03:37 AM
@ClassicII Ok the package is not in /usr/libexec .
Great but that is not a solution..
we are running JSS 9.96 and the last enrollment policy is fixing disk permission. And this error pops up. So as far as this goes, JSS is not setting this function up correctly and it needs te be addressed as I cannot change anything within the Casper Suite to change this. |(other than disabled the Fix Disk Permission)
Edit: It is not working in Mac OS Sierra! El Capitan has no problems.
Posted on 11-23-2017 02:38 AM
For MacOS Sierra, there is an undocumented terminal command that will repair user permissions that I found on Apples Support Notes.
diskutil resetUserPermissions / `id -u`
Posted on 07-02-2020 05:02 PM
@Tangentism
Have tried running this from Jamf? I was wondering if I should remove u -id
when running from jamf.