deleting an old users home folder

Asked by swinfi2

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:
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
Best Sayak Banerjee (sayakb-deactivatedaccount) said :
#2

Try
sudo rm /home/oldusername -rf

Revision history for this message
Sayak Banerjee (sayakb-deactivatedaccount) said :
#3

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

Revision history for this message
swinfi2 (swinfi2) said :
#4

Thanks Sayak Banerjee, that solved my question.