We have a couple of different default user accounts, created with CreateUserPKG, that we might deploy on a machine at imaging time as generic local user accounts (not all users might be employees so we need some local machine accounts).
So, one user we deploy might have UID 503. When we image the machine some preference files are copied to all users home (per the option for that deployment dmg file), but the preference files don't inherit the UID of the folder's user (503), instead sticking to the UID of the account on the machine the preferences were made on (501 for example). Since the local user doesn't share that UID it can't read the file and ignores it for a new default preference file.
Am I missing something? Or should I just look at a script to chown files at the end of imaging?