Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently just installed the gnome3 D.E. on ubuntu 11.04 after and once i did all my permissions got messed up. It won't let me open dropbox and says it's because of a permissions error. Also when i try to change the theme folder in gnome-shell it won't let me because of the same reason.

share|improve this question
    
Dropbox normally resides in /home. Can you do: ls -l ~ and post up the results? –  boehj Apr 24 '11 at 19:36

1 Answer 1

Maybe your user files are now owned by root. Try figuring out the user with the ls -l command in your home directory.

In case it looks like

drwxr-xr-x  2 root root  4096 2011-04-24 14:55 bin

instead of

drwxr-xr-x  2 queueoverflow queueoverflow  4096 2011-04-24 14:55 bin

you can try to claim ownership of all the files by doing sudo chown -R YOURUSERNAME ~ to set the owner of all files back to your user account. Then you should be able to work again.

For a complete fix, you would then have to do sudo chgrp -R YOURUSERNAME ~ as well to get everything back into your group as well.

share|improve this answer
    
To do it in one command: sudo chown -R $(id -u):$(id -g) $HOME –  waltinator Nov 2 '11 at 0:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.