When trying to create a new FTP user or list the domain directories using in Plesk->subscription->File manager, the following error appear:
Error: Unable to change directory to //httpdocs: filemng: opendir failed: Permission denied System error 13: Permission denied
Ownerships and permissions for files and directories of required domain is broken.
Run the commands below with superuser privileges to download the archived shell script. Unzip it and execute, providing the needed domain name as an argument:
~# wget http://kb.plesk.com/Attachments/23464/Attachments/recover_plesk_directories.zip ~# unzip recover_plesk_directories.zip ~# sh recover_plesk_directories.sh domain.tld
Script uses internal 'dirmng' utility and a set of predefined rules to reset permissions and ownerships on core elements of virtual host directory to their default values.