Symptoms
-
Unable to access File Manager for a certain domain or for all domains on a server:
Server Error
500 PleskUtilException
external error: Unable to find the directory /var/www/vhosts/example.com/: filemng failed: filemng: opendir failed: Permission denied System error 13: Permission denied -
Unable to download the files shown in File Manager:
Forbidden
You don't have permission to access this resource.
Apache Server at example.com Port 443 -
Unable to execute actions on File Manager: such as ZIP extraction, Copy, Rename, Changing Permissions, etc.
-
Unable to connect via FTP to a domain main folder or a sub-folder with the following error:
Unable to connect FTP :421 Service not available, remote server has closed.
-
Unable to create a ZIP file in Domains > example.com > File Manager > Add to Archive:
Unable to create the archive: filemng failed: filemng: /usr/bin/zip execution failed: zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied.
Cause
Incorrect permissions on domain's folder.
Resolution
Click on a section to expand
Via Plesk GUI
- Go to Tools & Settings > Diagnose & Repair > File System > Repair
Via SSH
-
Connect to the server via SSH
-
Run the following command to repair file permissions:
# plesk repair fs -y example.com
To fix permissions for all the domains:
# plesk repair fs -y