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

All of my files and folders have become locked! I cant run anything from terminal requiring files because it says permission denied and I have to open all files from root if I want to do anything with them. Please help :O

Oh and my themes dont work so Im assuming its because they are locked too :/

share|improve this question
up vote 1 down vote accepted

you may have inadvertently changed the ownership of those files to some other system user (root, or some such)

I'd usually fix this by opening up a terminal window and doing something like:

cd /home/ccrama/
sudo chown -R ccrama *

Be careful - you don't want to do this anywhere outside your home directory, as that can mess things up.

If you don't know what these commands do, typing "man " at the command line will open up the documentation for that command- like:

man chown
share|improve this answer
Thanks it worked! and fixed all my themes too! – ccrama Feb 25 '12 at 21:26

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.