A friend of mine hosts some of the websites he has built for his clients. Somehow he messed up the permissions giving all clients' websites a 403 error upon loading.
When I ssh to his server and log in with my account (I have 2 websites running on his server too), the first message I get is:
Last login: Tue Jan 24 11:54:37 2012 from 18.104.22.168 Could not chdir to home directory /home/michiel: Permission denied -bash: /home/michiel/.bash_profile: Permission denied
I then sudo and chdir to /home/. I (recursively) chowned the folder michiel to michiel:michiel and chmodded it (recursively) to 755.
I still get the same error at login and the website still gives me a 403 error.
I have tried to figure out if SELinux is causing problems, but "find selinux" outputs that there is no such file or folder.
Any ideas on how to solve this problem?