Unable to change directory to //httpdocs: filemng: opendir failed: Permission denied

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:54:08 UTC

Modified:

2016-12-21 19:29:32 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to change directory to //httpdocs: filemng: opendir failed: Permission denied

Symptoms

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

Cause

Ownerships and permissions for files and directories of required domain is broken.

Resolution

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.

Have more questions? Submit a request
Please sign in to leave a comment.