I'm using Mac OS X 10.7. Today I created a new user account, and moved everything under my own user account to my new one, and did a command:
sudo chown -R [new_user_name] /Applications sudo chown -R [new_user_name] [old_documents's_directory]
Then I found that lots of program having error in running. For example, my XAMPP simply cannot load the phpmyadmin page (this got resolved after I reinstall XAMPP). I think this is the problem with user permission: when I did the "chown -R", I also changed the program-owned-file to be under my username.
But I don't want to reinstall all the program I have. Is there a way to know the old owner of my program-owned-file so that I can change them back?