Failed to install WordPress to a subscription: The following error has occurred during the download of application: boost::filesystem::copy_file: Permission denied

Created:

2016-11-16 12:39:55 UTC

Modified:

2017-08-08 13:40:49 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Failed to install WordPress to a subscription: The following error has occurred during the download of application: boost::filesystem::copy_file: Permission denied

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Unable to install WordPress to a subscription:

Error: The following error has occurred during the download of application: boost::filesystem::copy_file: Permission denied: "/usr/local/psa/tmp/apscatalogqJ6kQA.zip", "/usr/local/psa/var/apspackages/b1d09180-0c50-44e8-bc0c-c2c8aeb3fed1.zip"

Cause

Incorrect permissions on " /usr/local/psa/var/apspackages/ " folder.

Resolution

Make sure that permissions and ownership on the folder and subfolders are the following:

# ls -ld /usr/local/psa/var/apspackages/
drwxr-xr-x 6 psaadm psaadm 4096 Feb 11 06:46 /usr/local/psa/var/apspackages/

Set correct permissions using the following command:

# find /usr/local/psa/var/apspackages/ -type f -a -not -perm 644 -exec chmod 644 {} \;
# find /usr/local/psa/var/apspackages/ -mindepth 1 -type d -a -not -perm 755 -exec chmod 755 {} \;
Have more questions? Submit a request
Please sign in to leave a comment.