Vsftp cannot be uploaded or downloaded. Solution: 64-bit RHEL61; problem: vsftp logon error "500 OOPS: cannot change directory:/home/******" solved: a. Check the permission first. B. the ftp server fails to connect to the server. The error message is: 500 OOPS: cannot change directory:/home/****** 500 OOPS: child died when you see the above prompt, try to solve the problem by entering the following command: (1) [root @ www.codesky.net vsftpd] # setsebool-P ftpd_disable_trans 1 [root @ www.codesky.net vsftpd] # service vsftpd restart or use the following solution: (2) [root @ www.codesky.net ~] #/Usr/sbin/setsebool-P ftp_home_dir 1 ############################# ######################################## ############# 2. If you use setsebool-P ftpd_disable_trans 1 // Add-P to indicate a permanent error: [root @ www.codesky.net vsftpd] # setsebool-P ftpd_disable_trans 1 libsemanage. dbase_llist_set: record not found in the database (No such file or directory ). libsemanage. dbase_llist_set: cocould not set record value (No such File or directory). cocould not change boolean ftpd_disable_trans cocould not change policy booleans solution: You may simply use the following one to solve the problem: [root @ www.codesky.net ~] #/Usr/sbin/setsebool-P ftp_home_dir 1: [root @ login vsftpd] # setsebool Route 1 [root @ www.codesky.net vsftpd] # setsebool Route 1 [root @ login vsftpd] # setsebool Route 1 [root @ www.codesky.net vsftpd] # setsebool-P ftp_home_dir 1 [root @ www.codesky.net vsftpd] # setsebool httpd_enable_ftp_server 1 [root @ www. codes Ky.net vsftpd] # setsebool tftp_anon_write 1 [root @ www.codesky.net vsftpd] # service vsftpd restart disable vsftpd: [OK] Start vsftpd For vsftpd: [OK] [root @ www.codesky.net vsftpd] # getsebool-a | grep ftp restart --> off allow_ftpd_full_access --> on login --> on ftp_home_dir --> on ftpd_connect_db --> off httpd_enable_ftp_server --> on sftpd_anon_write- -> Off sftpd_enable_homedirs --> off sftpd_full_access --> off sftpd_write_ssh_home --> off tftp_anon_write --> on restart vsftpd to solve the problem.