Re: Restoring from Time Machine backup relocates home directories

2017-09-17 Thread db
On 17 Sep 2017, at 00:15, Ryan Schmidt wrote: > File ownership can be preserved on disk images, but that ownership is > preserved by uid and gid, not by user name and group name. I suspected this but didn't know how it actually works on OS X. >> MP could also checked

Re: Restoring from Time Machine backup relocates home directories

2017-09-16 Thread Ryan Schmidt
On Sep 16, 2017, at 04:57, db wrote: > On 15 Sep 2017, at 23:47, Ryan Schmidt wrote: >> MacPorts and ports can add users, but MacPorts doesn't remove them. I'm not >> sure how we could change that. Suppose you install a port that has a user >> that needs to own some data, such as

Re: Restoring from Time Machine backup relocates home directories

2017-09-16 Thread db
On 16 Sep 2017, at 16:03, Rainer Müller wrote: > As you just run it on your system, you know how long that will take. > Clearly not an option to do this before/after every install/uninstall. Only those that create users. > And what would you gain from that? A free uid. They

Re: Restoring from Time Machine backup relocates home directories

2017-09-16 Thread Rainer Müller
On 2017-09-16 11:57, db wrote: > Shouldn't MP delete it if no files are owned by that user? In any case, it > could notify during installation that a user was created and upon > uninstallation that a user still owns files (and which) or not, and if not, > it could give the option to delete it.

Re: Restoring from Time Machine backup relocates home directories

2017-09-16 Thread db
On 15 Sep 2017, at 23:47, Ryan Schmidt wrote: > MacPorts and ports can add users, but MacPorts doesn't remove them. I'm not > sure how we could change that. Suppose you install a port that has a user > that needs to own some data, such as postresql96-server. You then

Re: Restoring from Time Machine backup relocates home directories

2017-09-15 Thread Rainer Müller
On 2017-09-15 20:56, db wrote: > On 15 Sep 2017, at 18:06, Ryan Schmidt 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,

Re: Restoring from Time Machine backup relocates home directories

2017-09-15 Thread db
On 15 Sep 2017, at 18:06, Ryan Schmidt 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

Re: Restoring from Time Machine backup relocates home directories

2017-09-15 Thread Ryan Schmidt
> On Sep 15, 2017, at 07:09, db wrote: > > On 15 Sep 2017, at 04:32, Ryan Schmidt wrote: >> I recently reinstalled macOS and, during the setup process, restored from a >> Time Machine backup. One would think that after restoration, the machine >>

Re: Restoring from Time Machine backup relocates home directories

2017-09-15 Thread Daniel J. Luke
On Sep 14, 2017, at 10:32 PM, Ryan Schmidt wrote: > I had numerous ports installed that create their own user accounts with > add_users or add_user, and of course MacPorts has its macports user. For each > of these users, I could select if I wanted the user to be

Re: Restoring from Time Machine backup relocates home directories

2017-09-15 Thread db
On 15 Sep 2017, at 04:32, Ryan Schmidt wrote: > I recently reinstalled macOS and, during the setup process, restored from a > Time Machine backup. One would think that after restoration, the machine > would be in a state sufficiently similar to the one it was in at