I migrated my OSX System from one machine to another. Everything works fine, but when I check the files under /usr/local, they now belong to a user 502, not my newly created user (which has the internal id 501).
Problem: even with sudo,
chown (-R) <username>:admin
did not work, the files remain unchanged.
How can I get rid of user 502?
Update: It seems normal files/dirs are changed, but symlinks aren't.