Directories created by PHP script are not listed in FTP Client Manager.
Selinux may be causing the issue to list the directories created by PHP script.
# sestatus SELinux status: enabled
Or this command will show status of selinux policy:
[root@host1 ~]# getenforce Enforcing
Review the audit.log:
# grep denied /var/log/audit/audit.log
Temporary solution - disable SELinux (just to make sure that it will fix the issue):
# sudo setenforce 0
Also you can generate the new rules to allow the access. Use following workaround:
Install policycoreutils-python package by following command:
yum install policycoreutils-python
The policycoreutils-python package contains the management tools use to manage an SELinux environment.
Generate loadable package of rules from logs of denied operations(example):
grep denied /var/log/audit/audit.log | audit2allow -M plesk_rcactions
Apply the changes to your SElinux policy (example):
semanage -i plesk_rcactions.pp