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 have somehow inadvertently altered the file permissions of my home directory. I wish to change them back to the default permissions. However, I can´t seem to find out what the default is.

Currently, I have set them to:


What should they be? Does it change depending on if you have your home folder encrypted?

share|improve this question
755 by default on unencrypted and 700 for encrypted. – duffydack Nov 1 '11 at 16:39
up vote 6 down vote accepted

Mine says

root45@Ubuntu:~$ ls -dl
drwxr-xr-x 31 root45 root45 4096 2011-10-31 14:06 .
share|improve this answer

I have always thought it is easier to deal numerically rather than alphabetically. An 'R' equates to 4, an 'W' to 2 and e(X)ecute to 1. The standard permissions in a directory equate to 755, which evaluates to read, write, execute for the owner (4 + 2 + 1), read and execute for the group (4 + 1) and read and execute for other. There are other permissions that might be assigned such as the sticky bit etc, but I won't go into them. To set the permissions you could just use a chmod 755 * in the directory. If there are hidden files, those starting with a period, you could try chmod 755 .*


share|improve this answer
This doesn't answer the question. – Eric Carvalho Sep 19 '13 at 17:36
I disagree. It does answer the question even if he beat around the bush to get to the point. – RolandiXor Sep 19 '13 at 20:15
It addresses what the standard permissions are, but not what they should be, nor whether they should be different depending on whether a user's home directory is encrypted. – inquiryqueue Apr 22 '15 at 18:48

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.