Ubuntu Forums (Ubuntu Linux Support)

Ubuntu Desktop => Desktop Environments => Topic started by: rohitlambi on November 29, 2012, 08:38:26 AM

Title: Ubuntu home folder is wiped clean when changed owner of home folder
Post by: rohitlambi on November 29, 2012, 08:38:26 AM
Ubuntu home folder is wiped clean when changed the owner of home folder from root to the current logged in user.

I rebooted my Ubuntu 10.04 LTS and when i entered my credentials a pop up appeared saying

"Could not update ICEauthority file /home/user/.ICEauthority"

After going forward with clicking ok, a blank screen appeared.

I searched for possible solutions for this problem i got one which said: check the owner of home folder and if its not the same as logged in user then change it to one.

So, I executed following command and rebooted the system
sudo chown -R user:user home

After that i was able to properly login but i could'nt see any of my files; it was like a fresh ubuntu installation.

Please help me getting my data back it was very important  :'(