We are trying to setup Proftpd on a Centos 7 system. We have ProFTPD configured to use MySQL.
We try to login with a user in the Database, and that works except that they can not list the directory.
We verified our configuration for ProFTPd, and after much checking decided to try and see if SELINUX had anything to do with our user not being able to list the directory.
[root@fd01 ~]# setenforce 0
[root@fd01 ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
After this, we are able to list the FTP directory and upload files.
So the question is. How do we make the correct change to SELINUX to allow FTP users to work correctly?