Some Linux users encountered vsftp 500 OOPS when using vsftp: can not change directory: /home/this problem, therefore, today Xiaobian specially brought this problem to everyone Method, if you still don't know how to solve it, then take a look. After
vsftp installed software, links ftp login prompt such a mistake
500 OOPS: can not change directory: /home /
The reason is that CentOS system installation SELinux, because the default is not to enable FTP support, so access is blocked.
Solution
//View SELinux Settings
# getsebool -a|
Grep ftp
ftpd_disable_trans –> off
or
ftp_home_dir–>off
//Use the setsebool command to open
# setsebool ftpd_disable_trans 1
or
# setsebool ftp_home_dir 1
//Check if the current state is on state
# getsebool -a|
Grep ftp
ftpd_disable_trans –> on
or
ftp_home_dir–>on
//setsebool uses the -P parameter, no need to boot every time Enter this command
# setsebool -P ftpd_disable_trans 1
or
# setsebool -P ftp_home_dir 1
My SELinux settings are as follows
[root@localhost ~]# getsebool -a|
Grep ftp
allow_ftpd_anon_write –> off
allow_ftpd_full_access –> off
allow_ftpd_use_cifs –> off
allow_ftpd_use_nfs –> off
ftp_home_dir –> on
ftpd_connect_db –> off
ftpd_use_passive_mode –> off
httpd_enable_ftp_server –> off
tftp_anon_write –> off
# service vsftpd restart
The above is the solution to vsftp 500 OOPS: cannot change directory:/home/, have encountered this problem Users, try this method, I believe it will help you.
Some users prefer to use the command line, but on the Linux system of the command l
We know that most of the Linux system operations are implemented by commands. If you want to upload
Linux system operation, many people are not very familiar with the installation of
In the Ubuntu system, many users will build more simulators for testing purposes. I
How to achieve synchronization between different terminals in Linux system
Ubuntu system apt command usage summary
CentOS download steps to install EPEL source
Notes on operating online replacement files on Linux systems
How to manage modules in the Linux kernel?
Linux when the program is prompted to error while loading shared?
How to install zoneminder software in Linux
Linux changes the capacity of VirtualBox disk
Linux iis can not run asp file how to solve
Linux system how to set up security management
What should I do when the Ubuntu hard disk reads and writes?
Win7 computer wireless network icon shows abnormal how to do
Hearthstone legend TGT high play Longdeka group experience sharing
Win8 blue screen prompts need to restart how to solve?
Windows XP Common Security Settings List
How to set high contrast display in Windows 8 system?
Google launches Consumer Surveys into the online survey market
Microsoft Windows 9 Technology Preview Release Notice
How to create a new dial-up network win10? Win10 set up the detailed process of dial-up Internet