Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easily set permissions on a migrated Home folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily set permissions on a migrated Home folder
Authored by: rhowell on Oct 31, '05 06:39:42AM

I love it when people test things and report their results to the community. That makes this a nice hint.

Now, is "Anonymous" willing to test what happens when the UID/GID of the imported home folder already exists for another user on the destination system?



[ Reply to This | # ]
Easily set permissions on a migrated Home folder
Authored by: Gerk on Oct 31, '05 12:15:32PM

exactly. UID/GID is much more important in the grand scheme of things.



[ Reply to This | # ]
Easily set permissions on a migrated Home folder
Authored by: claudio on Oct 31, '05 01:29:43PM

Well there are a few things to be aware of:
1. The users short name does not exist on the target machine (otherwise you would obviously overwrite an existing homefolder)
2. If there is another user having the same UID, then the copied folder could be read/write by this user (if he knows that this folder exists, otherwise he won't care of). By the time you create a new user with the same short name as the copied folder, then this new user gets a new UID on this system. But as Anonymous mentioned OS X is smart enough too see, that there is a conflict ans solves it without any hassles giving the existing folder the correct user permissions.

Regards,
Claudio

---
- claudio



[ Reply to This | # ]