- Plesk 12.5 for Linux
Cannot update Wordpress security for directories and files using WordPress ToolKit.Permissions for files and directories are marked as failed after clicking on Check Security button in Wordpress Toolkit.
The follwing errors can be found in
Failed to open safely /var/www/vhosts/example.com/httpdocs/./wp-admin/options-discussion.php: Too many open files
open_basedir_with_nofollow: opeat failed: `.', Too many open files
[2016-02-11 02:51:30] DEBUG [util_exec] [448cea57c667f5f2bd5eb3fca65eedd9] Finished in 0.13496s, Error code: 0, stdout: ./wp-content/uploads/js_composer
, stderr: Incorrect permissions on /var/www/vhosts/example.com/httpdocs/./wp-content/uploads/js_composer: expected is one of 0755, actual is 0777
Incorrect permissions on /var/www/vhosts/example.com/httpdocs/./wp-config.php: expected is one of 0644, actual is 0600
This is Plesk internal issue with ID #PPPM-4076 , which is planned to be fixed in future Plesk updates.
file with its fixed copy from