librelist archives

« back to archive

Missing Staff Group in Open Directory after User Migration to Lion

Missing Staff Group in Open Directory after User Migration to Lion

From:
Michael Starke
Date:
2011-08-24 @ 06:59
Hello fellow brewers,

i recently updated to Lion and migrated my user from a TimeMachine backup.
I read about the problem of loosing membership in the staff (20) group. 
This happened to my account too. The problem I'm having is, that while the
/etc/group file lists the staff group an its correct guid, OpenDirectory 
seems to be missing it.

Trying to use:
_______________________________________________
sudo dscl . append /Groups/staff GroupMembership `whoami`

yields:
_______________________________________________
append: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

So the Group is missing from OD. Why is that? Is it save to add it 
manually? How do i map it to correspond to the correct guid? Just give it 
20 on creation?

Sorry for the amount of question, but I'm sort of stuck.

Grettings,
michael

Re: [homebrew] Missing Staff Group in Open Directory after User Migration to Lion

From:
Michael Starke
Date:
2011-08-29 @ 18:21
Hello again,

has no body any idea how to solve this?

Thanks in advance,
michael

> Hello fellow brewers,
> 
> i recently updated to Lion and migrated my user from a TimeMachine 
backup. I read about the problem of loosing membership in the staff (20) 
group. This happened to my account too. The problem I'm having is, that 
while the /etc/group file lists the staff group an its correct guid, 
OpenDirectory seems to be missing it.
> 
> Trying to use:
> _______________________________________________
> sudo dscl . append /Groups/staff GroupMembership `whoami`
> 
> yields:
> _______________________________________________
> append: Invalid Path
> <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
> 
> So the Group is missing from OD. Why is that? Is it save to add it 
manually? How do i map it to correspond to the correct guid? Just give it 
20 on creation?

-michael

Re: [homebrew] Missing Staff Group in Open Directory after User Migration to Lion

From:
Max Howell
Date:
2011-09-01 @ 09:18
We recently changed the installer to use the "admin" group instead. I 
suggest you do the same. Or reinstall.

> Hello again,
> 
> has no body any idea how to solve this?
> 
> Thanks in advance,
> michael
> 
>> Hello fellow brewers,
>> 
>> i recently updated to Lion and migrated my user from a TimeMachine 
backup. I read about the problem of loosing membership in the staff (20) 
group. This happened to my account too. The problem I'm having is, that 
while the /etc/group file lists the staff group an its correct guid, 
OpenDirectory seems to be missing it.
>> 
>> Trying to use:
>> _______________________________________________
>> sudo dscl . append /Groups/staff GroupMembership `whoami`
>> 
>> yields:
>> _______________________________________________
>> append: Invalid Path
>> <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
>> 
>> So the Group is missing from OD. Why is that? Is it save to add it 
manually? How do i map it to correspond to the correct guid? Just give it 
20 on creation?
> 
> -michael