Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.