- Plesk 12.5 for Linux
- Plesk 11.x for Linux
- Plesk 12.0 for Linux
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.
SELinux status: enabled
Or this command will show status of selinux policy:
[root@host1 ~]# getenforce
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