Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
Please post the permissions of your home directory. –  Christian Jan 6 '11 at 7:28
add comment

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------

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

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.