[MacPorts] #41039: Installing MacPorts on Mavericks Renames "staff" Group To "macports"

MacPorts noreply at macports.org
Mon Oct 28 16:05:27 PDT 2013


#41039: Installing MacPorts on Mavericks Renames "staff" Group To "macports"
-----------------------------+--------------------------------
  Reporter:  roberthuston@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  base            |    Version:  2.2.1
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+--------------------------------
Changes (by ryandesign@…):

 * component:  ports => base


Old description:

> 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?

New description:

 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?

--

Comment:

 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.
 ##
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41039#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list