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.
To disable SELinux open its config file in an editor, for example in "nano":
sudo nano -w /etc/selinux/configChange SELINUX=enabled to "disabled".
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.
This work is licensed under a Creative Commons Attribution-NoDerivs 3.0 United States License.
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.