[MacPorts] #41039: Installing MacPorts on Mavericks Renames "staff" Group To "macports"
MacPorts
noreply at macports.org
Wed Jul 1 04:43:40 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 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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41039#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list