What should be the permissions of main account directory. For example if my account name is demo. so what should i chmod /home/demo to?
If the server is setup as a web server and there is a public_html directory in the user's home directory, the website will not work which is what I assumed. However, if the server is not setup as a web server, 700 is appropriate as vikramsra said.
I am facing a different kind of problem now. i have public_html in it but the problem is when i open my site 403 forbidden message is shown Edit: 711 worked for me instead of 700
The 711 (drwx--x--x) works because the nobody user needs execute permissions in the directory to see the .htaccess file and whatever you have set as the DirectoryIndex.