How to fix "500 OOPS: cannot change directory:/home/someuser" error
Probably you have SELinux (Security Enhanced Linux) enabled by default in your system. There are two ways to fix this problem. The first one is to disable SELinux, and the second one is to configure SELinux properly.
Disabling SELinux
To disable SELinux open its config file in an editor, for example in "nano":
sudo nano -w /etc/selinux/configChange SELINUX=enabled to "disabled".
Configuring SELinux
To configure SELinux properly run:
sudo setsebool -P ftp_home_dir on
Execution of this command may take a couple of minutes, so be sure to wait for it to finish the job.
-
washington2012-10-09 11:47:28
very good, solution iqual these are very dificult find. thanks muito bom, soluções iguais a essas são muito dificil de achar. obrigado.
Got a comment?
All Rights Reserved.