Response: 500 OOPS: cannot change directory:/home/

Started by Administrator, December 12, 2013, 08:49:02 PM

Previous topic - Next topic

Administrator

Hiya,

When trying to connect your account via FTP using FileZilla, you might receive an error as below.

QuoteResponse:   500 OOPS: cannot change directory:/home/username
Error:   Critical error
Error:   Could not connect to server

This usually happens when selinux is enabled on your server. You can either disable selinux on the server OR perform the commands below. It is not recommended to disable selinux as it adds security.

Quote#getsebool -a | grep ftp ; ftp_home_dir --> off
#setsebool -P ftp_home_dir on;ftp_home_dir --> on

Try connecting to the account via FTP now. It should work.
MilesWeb - Your Hosting, Our Responsibility!
Buy Web Hosting Plans | Managed VPS with 50% Discount