I migrated Panther files to a fresh Tiger install. Immediately rebooted to the newly moved user which had all my user info. Now I encounter many files that are reported as belonging to the Tiger account even though they were created on the Panther volumes and many exist on separate volumes. I believe this happened because the Tiger account is 501 and those other files were also created by 501 albeit while in Panther.
Moved user account is now 502 since it was technically the second account created within the Tiger install. Since this is causing a lot of problems with using files/folder and may be a problem with backups, I would like to consolidate all 501 and 502 files/folders to one account and delete the other. The 502 account is the one I want to use. Will it present any problems wince 501 is usually the primary account? If not, could you help me with the proper commands to do so? Or would just deleting the 501 account do the trick without orphaning the files and folder and making them unusable? If I can combine to 502, could I then delete the 501 and change 502 to 501?
I came across the following suggestions in similar thread at another forum but not sure which might be the correct way.
--------
QUOTE
So for example, if the old account was 'tommy' and the new account is 'thomas', then create thomas, and while still in another account copy the files from /Users/tommy to /Users/thomas, then give the command
sudo chown -R thomas:thomas /Users/thomas
The 'thomas:thomas' means it will change both user AND group. The '-R' means it will change everything inside the directory that the command points at--in this case /Users/thomas.
OR
QUOTE
I just wanted to finish up this thread. 1st of all, Trevor, thnx 4 all your help. In the end I used:
sudo niutil -createprop . /users/userName uid 501
to change his UID to 501. Then:
sudo find / -user UID -exec chown userName {} \;
to search out files created by my buddy & other admin accounts & change the ownership to him. My friend had files he created coming up owned by UID 501, 503, & 504. Strange...
I tried this in the begining of my troubleshooting & it didn't help. I got advice from a few forums & combined suggestions, tired a few things & eventually things were @ the point the ownership changes stuck.
Please note I am not all that comfortable in the Terminal so I need explicit instructions.