Sometime on Mar 26, Rony Bill assembled some asciibets to say:
Suppose an existing user 'rony' was removed, and a new user called 'rony' was created, how will the system remove the older 'rony' and allot the existing ~rony directory to the new 'rony' ?
file ownership is on userid/groupid as specified in /etc/passwd. When you delete a user, all file ownerships remain with the user id, but lose the link with the user name. Create a new user with the same name and that user gets a new userid (or maybe the same, it doesn't matter). chown to the new user and all file ownership changes to the new user
it's a trivial matter to use 'find' to change all files owned by the user.
Philip