ryandesign at macports.org
Tue Mar 9 17:11:41 UTC 2021
On Mar 9, 2021, at 10:41, joerg van den hoff wrote:
> for the record and in case someone searches the mail archive: re-installing Macports from the .dmg installer solved the problem for me (no more warning messages regarding missing `macports' user).
> out of curiosity: any ideas, why this warning message is issued in the first place after the Migration Assistant run? maybe the issue is fixable on the Macports side for the future (I have seen this with 10.15.7)?
I don't think there's anything for us to fix really.
You reported that you used migration assistant and deliberately did not migrate the macports user. I concur that this was the correct choice, since if you had migrated the macports user, migration assistant would have relocated its home directory and you would then have had move the home directory from its relocated place to its correct place and used dscl to fix up the user's home directory entry.
Since you did not migrate the macports user, you should not have had a macports user or group on the new system. I'm not sure why some utilities seemed to indicate that this user existed. I agree with Rainer that the solution was to rerun the MacPorts installer so that it would create the user and group and the user's home directory.
More information about the macports-users