deleting an old users home folder

Asked by swinfi2 on 2008-06-29

i changed my username and copied all me files so i had 2 users which where both me then i deleted the old me's profile and now i cant do anything to the old me's files how do i get rid of them?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sayak Banerjee
Solved:
2008-06-29
Last query:
2008-06-29
Last reply:
2008-06-29
swinfi2 (swinfi2) said : #1

it would be alot easier if i could just change the username rather than make a new user and get in this mess

Try
sudo rm /home/oldusername -rf

If this fails, try
sudo chown root /home/oldusername
sudo rm /home/oldusername -rf

swinfi2 (swinfi2) said : #4

Thanks Sayak Banerjee, that solved my question.