[MacPorts] #41592: Warning: configured user/group macports does not exist, will build as root

MacPorts noreply at macports.org
Thu Nov 28 15:48:42 PST 2013


#41592: Warning: configured user/group macports does not exist, will build as root
-----------------------------+--------------------------------
 Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  base             |    Version:  2.2.1
 Keywords:  macports gid     |       Port:
-----------------------------+--------------------------------
 I had to reinstall Mac OS X (10.6.8, Snow Leopard) and did it from a
 TimeMachine backup. I tried to preserve UIDs and GIDs by first logging in
 as some temporary user, but Migration Assistant mixed things up:

 {{{
 pete 138 /\ dscl . -read /Users/macports
 dsAttrTypeNative:_writers_hint: macports
 dsAttrTypeNative:_writers_jpegphoto: macports
 dsAttrTypeNative:_writers_LinkedIdentity: macports
 dsAttrTypeNative:_writers_picture: macports
 AppleMetaNodeLocation: /Local/Default
 GeneratedUID: E11D654A-D0EE-4C3C-9948-BF7521261E76
 NFSHomeDirectory: /opt/local/var/macports/home
 Password: *
 PrimaryGroupID: 502
 RealName: MacPorts
 RecordName: macports
 RecordType: dsRecTypeStandard:Users
 UniqueID: 504
 UserShell: /usr/bin/false

 pete 140 /\ dscl . -read /Groups/macports
 AppleMetaNodeLocation: /Local/Default
 GeneratedUID: DEA250F0-ED86-4340-8605-86E65F17E54D
 PrimaryGroupID: 501
 RecordName: macports
 RecordType: dsRecTypeStandard:Groups
 }}}

 So when I uninstalled old and deactivated packages port would the warning
 in the subject. I fixed this by running

 {{{
 dscl . change /Users/macports PrimaryGroupID 502 501
 }}}

 Is there more to perform? Like a 'chown -R ...'

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


More information about the macports-tickets mailing list