upgrade goofed up my homepage and users

Asked by derrick ayerz

After upgrade to ubuntu 11.10, my users were missing and I was getting an .ICEauthority error. After running some CHOWN suggestions - I managed to find and unlock my file folders. Details of that problem can be found here: https://answers.launchpad.net/ubuntu/+source/coreutils/+question/183320

Problem is I now have no launchbar on my home page. When I log in I get this:
"Nautilus failed to create the following folder: Home/Userx/.config/nautilus."

When I look up that file I see that the .config is still write protected.

I think I just need to unprotect or get ownership of those .whatever folders as well ??

Would appreciate your help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu coreutils Edit question
Assignee:
No assignee Edit question
Solved by:
Chris
Solved:
Last query:
Last reply:
Revision history for this message
Best Chris (fabricator4) said :
#1

Yes, Ralph pointed out to us that the bash command I gave would not fix the hidden dot files, only the normal ones. To fix all the dot files do the following:

sudo chown -R usernamex:usernamex ~/.*

Which means change everything that starts with '.' and do it recursively.

Chris

Revision history for this message
derrick ayerz (derrick-ayers106) said :
#2

That did it !! Thanks to both of you.

Hev

Revision history for this message
Ralph Corderoy (ralph-inputplus) said :
#3

Erm, that wasn't the command I gave though. :-) I'd expect that to change the owner and group of $HOME's parent directory and all its descendants too, e.g. if you're user foo in /home/foo it will change your sibling's /home/bar too. This is because ~/.* will expand to include ~/.. which is a hard link to ~'s, AKA $HOME's parent, e.g. /home, and chown will descend from there. Yes, it will do what's required but may do more.