Opened 9 years ago

Closed 6 years ago

#41592 closed defect (invalid)

Warning: configured user/group macports does not exist, will build as root

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port:

Description

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 ...'

Change History (3)

comment:1 Changed 9 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 9 years ago by ballapete (Peter "Pete" Dyballa)

It seems that the correction of the UID was sufficient. When I now delete outdated packages port does not complain anymore.

comment:3 Changed 6 years ago by raimue (Rainer Müller)

Keywords: macports gid removed
Resolution: invalid
Status: newclosed

I don't think we can do anything here.

Note: See TracTickets for help on using tickets.