Restoring from Time Machine backup relocates home directories

db iamsudo at
Fri Sep 15 18:56:12 UTC 2017

On 15 Sep 2017, at 18:06, Ryan Schmidt <ryandesign at> wrote:
> Not always, because many ports use local variables when setting the home directory, so you then have to find the place in the Portfile where that local variable is set. And also, many ports split the add_users invocation over multiple lines, such that the line that sets the home directory might not be on the same line that includes the string "add_users".

I ran

dscl . list /Users | grep -v ^_.*

and noticed the user messagebus, so I filtered it from

port cat all

and realised that dbus set it, but MP didn't remove it when uninstalled.

MP should also take care of that.

More information about the macports-dev mailing list