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

MacPorts noreply at macports.org
Sat Oct 31 21:03:08 PDT 2015


#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:                  |
-----------------------------+--------------------------------

Comment (by alexreg@…):

 Replying to [comment:10 adrinux@…]:
 > That thing where you find something wrong, search and find out you've
 both had the problem before and posted a solution :/
 > Just discovered macports is once again set to use group id 20 on my box.
 > {{{
 > dscl -q . -read /Groups/macports
 > AppleMetaNodeLocation: /Local/Default
 > GeneratedUID: 00878EA3-A881-47A2-BDB1-9258F20022C2
 > PrimaryGroupID: 20
 > RecordName: macports
 > RecordType: dsRecTypeStandard:Groups
 > }}}
 >
 > This time I just changed the macports GID instead. List all IDs so we
 can choose one that's not in use
 > {{{
 > dscl . -list /Groups PrimaryGroupID
 > }}}
 > Then I changed macports id from 20 to 502, and changed the macports
 users PrimaryGroupID to the same number, 502 in my case.
 > {{{
 > sudo dscl -q . -create /Groups/macports PrimaryGroupID 502
 > sudo dscl -q . -create /Users/macports PrimaryGroupID 502
 > }}}

 This problem just happened for me, disturbingly. Can the MacPorts
 maintainers please fix this in their release?

 The fix you suggested seems to work, however. Thanks.

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


More information about the macports-tickets mailing list