Today in the configuration of FTP, all configured, after the start of the VSFTPD, through the user landing FTP, incredibly error:
C:\>ftp 10.10.1.239
Connected to 10.10.1.239
2.0.5 (VSFTPD)
User (10.10.1.239: (None)): Xaftp
331 Please specify the password.
Password:
Oops:cannot Change Directory:/home/xaftp
Login failed.
Ftp> ls
Oops:child died
Connection closed by remote host.
Think this problem is very strange, configuration certainly no problem, always hint oops:cannot change directory:/home/xaftp
Workaround:
In the terminal input command:
Setsebool Ftpd_disable_trans 1
Service VSFTPD Restart
It's OK!
In fact, this is the SELinux set command.
In fact, man Setsebool also know:
NAME
Setsebool-set SELinux Boolean value
It is OK to turn off the selinux before you are unfamiliar with selnux. Have time to study the SELinux.
If you want to use SELinux but unfamiliar, you can set the SELinux to permissive, which means that the SELinux rule starts, but only records the violation to log.
This article is from the "Technology Achievement Dream" blog, please be sure to keep this source http://ixdba.blog.51cto.com/2895551/526103