How to solve the problem that ftp cannot view the list in centos

WJ
Release: 2020-06-05 15:55:57
Original
2911 people have browsed it

How to solve the problem that ftp cannot view the list in centos

How to solve the problem that ftp cannot view the list in centos?

After configuring the FTP server on Linux and logging in using the ftp tool, the directory /home can be accessed by manually writing the path, but no data can be seen in the folder and file lists.

How to solve the problem that ftp cannot view the list in centos

There are files in the home directory

How to solve the problem that ftp cannot view the list in centos

Cause: related to SELinux

Solution : Turn off SELinux

View SELinux status:/usr/sbin/sestatus -v #If the SELinux status parameter is enabled, it is in the open state

Modifying the configuration file requires restarting the machine

Modify the /etc/selinux/config file

Change SELINUX=enforcing to SELINUX=disabled

Restart the machine

How to solve the problem that ftp cannot view the list in centos

Related references :centOS tutorial



The above is the detailed content of How to solve the problem that ftp cannot view the list in centos. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template