Vsftpd 500 OOPS: cannot change directory

  
 

vsftpd 500 OOPS: Cannot change directory Today, when configuring ftp, after all configuration is completed, start vsftpd, through the user login ftp, actually error: C:\\>ftp 10.10.1.239Connected to 10.10.1.239220 (vsFTPd 2.0 .5) User (10.10.1.239:(none)): xaftp331 Please specify the password.Password:500 OOPS: cannot change directory:/home/xaftpLogin failed.ftp> ls500 OOPS: child diedConnection closed by remote host. Feel this problem Very strange, the configuration is definitely no problem, always prompted 500 OOPS: can not change directory: /home /xaftp

Solution: Enter the command in the terminal: setsebool ftpd_disable_trans 1service vsftpd restart OK! In fact, this is the SELinux setting command. In fact, man also knows the setsebool: NAMEsetsebool - set SELinux boolean value before you are familiar with SELnux, you can turn off SELinux. Have time to study SELinux. If you want to use SELinux but are not familiar with it, you can set SELinux to Permissive, which means that SELinux rules are started, but only the violations are recorded in the log.

Copyright © Windows knowledge All Rights Reserved