Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Leopard Permissions Unknown and Duplicate User

I have an external Firewire drive with 4 partitions and everything seems to work Ok but I have a question

if I boot from the internal and do GetInfo I see

Macintosh HD (the internal drive)
system RW
admin RW
everyone R
03MacOSX (partition 1)
unknown RW
system RW
admin RW
everyone R
03Docs (partition 2)
unknown RW
engrav (Me) RW
admin RW
everyone No Access
03Home (partition 3)
unknown RW
engrav (Me) RW
admin RW
everyone No Access
04SavedPicMusic (partition 4)
unknown RW
engrav (Me) RW
admin RW
everyone No Access

if I boot from the external Firewire with GetInfo I receive

03MacOSX (partition 1)
engrav (Me) RW
system RW
admin RW
everyone R
03Docs (partition 2)
engrav (Me) RW
engrav (Me) RW
admin RW
everyone No Access
03Home (partition 3)
engrav (Me) RW
engrav (Me) RW
admin RW
everyone No Access
04SavedPicMusic (partition 4)
engrav (Me) RW
engrav (Me) RW
admin RW
everyone No Access
Macintosh HD (the internal drive)
system RW
admin RW
everyone R

again, everything seems to work Ok but Permissions is kinda interesting... I guess
when booting from the internal, why do I have the unknown user?
when booting from the external, why do I have the engrav user appearing twice?

thank you

by the way
with System Preferences > Accounts > Advanced Options I am 501 UID and 20 GID with both situations
and I have Filesharing turned on when booting from the external
and I have read maybe 100 web pages without finding the answer...

thank you

2 x 3.2 GHz Quad-Core Intel Xeon, Mac OS X (10.5.2)

Posted on May 24, 2008 3:20 PM

Reply
7 replies

May 24, 2008 5:05 PM in response to engrav

In other words:
This is a bug in Leopard, only appearing on systems that are updated from Tiger. Running the 10.5.2 Combo Update should fix the permissions.
But … unfortunately one of the last updates (was it the Graphic-Update?) changed the current Build Number, so if you installed this updates, you won´t be able to run the 10.5.2 Combo Update (And you have to wait for 10.5.3)

There are "hacks", you will find on the internet, how to re-change the Build Number, but i will not recommend this -- of course it will work.
The other way is to set the permissions via Terminal.
I´m german, so i found a german link for you:
http://www.macmark.de/osxupdates.php#leopardgruppen

of course it seems to be nearly the same procedur, as described in the last post of this (english) thread:
http://www.macosxhints.com/article.php?story=200711291134001

Spazek

May 24, 2008 5:22 PM in response to spazek

thank you and thank you

I started out with UID 501 and GID 501 which is clearly not how 10.5.2 wants it
to get to UID 501 and GID 20 and a working system I did these lines, but from the English

sudo dscl . read /Groups/staff | grep GroupMembership

sudo dscl . append /Groups/staff GroupMembership $USER

sudo chgrp -R staff ~

sudo dscl . delete /Groups/$USER

and now all works fine but the funny permissions remain

but I try the first line again and it returns
GroupMembership: root engrav

should I be a member of the root group?

May 24, 2008 6:02 PM in response to engrav

the unknown user is the legacy from Tiger group structure. In Tiger, the primary group for every user was a special private group with the same name as the username of the user. In leopard, by default the primary group is staff and leopard's finder doesn't understand old private groups and displays them as unknown. Finder used to crash because of this if you tried to change permissions. This was fixed in 10.5.2 so that it doesn't crash any more but the old private groups remain so you still see the unknown group in finder.

Personally, I found it quite annoying and changed all my users to leopard's group structure. various ways to do that but here is how I do it.

log out of the account you want to change and into a different admin account.

run the following in terminal:

*sudo dscl .delete /users/username*

where instead of username you put the short name of the user you want to change.
This deletes that user but not its home directory. Restart. go to system preferences->accounts and create a new user with the same shortname as the one you've just deleted. You'll see a popup saying that a home directory by that name already exists and asking if you want to use it. say "Yes". That's it, works like a charm. It also changes all the permissions on the home directory so no further work is needed.

To get rid of the unknown group on the external drive I run

*sudo chgrp -R staff /Volumes/"name-of-external"*

there might be some ACLs left which can be zapped by running

*sudo chmod -RN /Volumes/"name-of-external"*

This pretty much vanquished the remains of the Tiger group structure on my system and drives.

May 25, 2008 12:11 PM in response to V.K.

thank you

those look like pretty serious terminal commands which could do some serious damage to a Unix novice like me, and I have no functional problem to fix so...

but another thing this morning, as mentioned I have filesharing turned on, there was a User called "unknown", so I minus'd him/her out, now the problem listed way back at the top is gone, all of the permissions on all partitions read properly whichever I boot from

who sets what permission user and where may be too complex for me, I had better go back to just doing actual work

Leopard Permissions Unknown and Duplicate User

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.