OSX chown problems after creating users with dscl
- by RandomInsano
Alright, so I've made a user and a group using dscl as follows:
dscl . -create /Users/deadline
dscl . -create /Groups/deadline
dscl . -append /Groups/deadline GroupMembership deadline
Now I'm trying to chown things like so:
mkdir /tmp/stuff
chown deadline:deadline /tmp/stuff
But the problem is that it sets the user and group to nobody instead…