Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: View the full users and groups list' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: View the full users and groups list
Authored by: ryanjrp on Nov 05, '07 01:31:33PM

You can check your Group membership in the Advanced Options pop-down, by CTRL-Clicking your User name, and selecting Advanced Options. The Group ID field is what you are looking for.

To find the Group Name associated to the Group ID you can do a 'more /etc/group' in Terminal, to see a list of your groups. My Group ID was 20 (Staff). You can now go and issue 'chown :staff my.file' and that will change the associated group for the files you are concerned about not having your proper group permission's.

You can add groups in System Preferences -> Accounts. Just use the Spotlight search in System Preferences and it will circle the Accounts preference pane.

Unlock the pane if necessary and click the + below Login Options. In the New field select Group from the pop-up list. Give your group a name. Once saved/applied, you can now select the group in the Account pane and select who is a member of the group. the 'chown' command will work with the new group name. I have not been able to local where Leopard is storing this new group, as performing 'more /etc/group' does not show the new group I created there.

Further investigation is necessary, but hopefully this helps some people.

Regards,

Ryan Pritchard



[ Reply to This | # ]
10.5: View the full users and groups list
Authored by: ryanjrp on Nov 05, '07 02:13:15PM

Follow up... CTRL-Clicking the group you create in the Accounts preference pane lets you see the Group ID and the UUID for the group...

And you can add other groups as members of a group. Though that is probably pointless to have pointed out, since that is base functionality in most UNIX like environtments.



[ Reply to This | # ]
10.5: View the full users and groups list
Authored by: ryanjrp on Nov 05, '07 02:14:51PM

Stupid Threaded viewing mode... Someone gave these tips last Friday...



[ Reply to This | # ]