I recently copied a file as the root user to my users's home directory. Ever since that my user has not been able to go to its home directory because "permission is denied". I have already chowned the directory so that it is owned by the user but still i'm getting the error.

(OS: Debian Lenny)

Can canyone help?

RayQuang

link|improve this question

Please post the permissions of your home directory. – Christian Jan 6 '11 at 7:28
feedback

1 Answer

up vote 2 down vote accepted

Check that the directory is also readable by the user. So, for a home directory the octal permissions should typically be 700 or rwx------

link|improve this answer
thanks, Managed to fix it by doing chmod 770 – RayQuang Jan 6 '11 at 10:42
feedback

Your Answer

 
or
required, but never shown

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