Skip to content

Instantly share code, notes, and snippets.

@PatrickJS
Forked from davepeck/group_reassignment.md
Created January 23, 2016 04:03
Show Gist options
  • Select an option

  • Save PatrickJS/b815dd59ab9b0f54d3ea to your computer and use it in GitHub Desktop.

Select an option

Save PatrickJS/b815dd59ab9b0f54d3ea to your computer and use it in GitHub Desktop.

I got hit by the weird group reassignment when I upgraded to Mavericks. In my case the group was macports (!). I’ve seen one report from a user who got cloakproxy after the 10.11 upgrade, so apparently the bug is still there.

For some reason the OS X upgrader sometimes picks a group and changes the PrimaryGroupID to 20. Here’s the confirm:

dscl . -read Groups/cloakproxy
dscl . -read Groups/staff

And the fix:

sudo dscl . -delete Users/cloakproxy
sudo dscl . -delete Groups/cloakproxy

The next time Cloak is run it will re-create any needed users/groups. (If you're curious: cloakproxy is part of how our OverCloak firewalling feature works with captive portals.)

This OS X updater bug is pretty head-scratching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment