Opened 11 years ago

Last modified 7 years ago

#41039 closed defect

Installing MacPorts on Mavericks Renames "staff" Group To "macports" — at Version 1

Reported by: roberthuston@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.1
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

After upgrading to Mavericks, I installed MacPorts 2.2.1 using the "Mavericks" version of the installer. Today, when doing an "ls -l" in Terminal, I noticed that my default user group now says "macports" instead of "staff." However, when I look at the gid that is allocated to the "macports" group, it is indeed the value 20 that is normally associated with "staff." Somehow the MacPorts installation has hijacked the "staff" name. How can I get it restored to its proper name?

A listing of my /etc/group file still has

  staff:*:20:root

as one of the entries, and there are no "macports" entries. So where is this remapping of the "staff" into "macports" happening?

Change History (1)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)

I'm not sure why this is happening, but to answer your question about where this is happening, read the top of the /etc/group file:

##
# Group Database
# 
# Note that this file is consulted directly only when the system is running
# in single-user mode.  At other times this information is provided by
# Open Directory.
#
# See the opendirectoryd(8) man page for additional information about
# Open Directory.
##
Note: See TracTickets for help on using tickets.