I plugged in a friends iMac via firewire taget mode to clone his drive to an image and something strange went down. Now I can't log into my user account properly and Macintosh HD has a red no go sign on it when I command-click the finder title. Get Info shows 'Fetching" instead of 'Me' and finder won't show any files when browsing Macintosh HD. Closer inspection shows Macintosh HD to be owner by uid 502 but all other drives are uid 501.
I figure I need to get that back to 501 somehow.
Running the installer from USB and running terminal there iv'e tried.
cd /Volmes/Macintosh HD
chown 501:501 Me
chown 501:20 Me
but it remains 502.
How can I fix it?
P.S OSX is installed on 'Macintosh SSD' and my home folder is on a separate drive'Macintosh HD'